Add migration for ConceptPortMapping BigAutoField
Migration 0002 created the id column as AutoField while the model uses BigAutoField. Verified with NetBox 4.7.2. Bump version to 0.2.5. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
8c0bf1311e
commit
9736a216be
4 files changed
+25
-2
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 0.2.5
|
||||
|
||||
- Verified against NetBox 4.7.2 (Django 6.1).
|
||||
- Added migration `0003` that aligns the `ConceptPortMapping.id` column with the model (`BigAutoField`).
|
||||
|
||||
## 0.2.4
|
||||
|
||||
- Verified compatibility with NetBox 4.7.1 and raised `max_version` to `4.7.99`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from netbox.plugins import PluginConfig
|
||||
|
||||
__version__ = '0.2.4'
|
||||
__version__ = '0.2.5'
|
||||
|
||||
|
||||
class RackConceptConfig(PluginConfig):
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 6.1.1 on 2026-10-13 12:08
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('netbox_rack_concept', '0002_cabling'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='conceptportmapping',
|
||||
name='id',
|
||||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False),
|
||||
),
|
||||
]
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "netbox-rack-concept"
|
||||
version = "0.2.4"
|
||||
version = "0.2.5"
|
||||
description = "Rack blueprints for NetBox: plan racks and their equipment without creating real racks or devices"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
Reference in new issue
Block a user