Commit Graph
3 Commits
Author SHA1 Message Date
MrBlakeandClaude Opus 5.5 a7d27336b6 Make restored migrations 0003-0005 skip existing columns
Installations that applied 0003-0005 before they were removed from the repository still have the columns, but may no longer have the django_migrations rows. Running migrate then failed with DuplicateColumn on "provider". Use an AddField variant that only adds missing columns.

Verified on NetBox 4.7.2 / PostgreSQL 17 / Python 3.13 with a fresh install, with all columns present but no migration rows, and with only some columns present. Bump version to 0.3.3.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-14 16:37:56 +02:00
MrBlakeandClaude Opus 5.5 6dc00ebd78 Support NetBox 4.7.2 and restore deleted migrations
Raise max_version to 4.7.99; NetBox 4.7.2 skipped the plugin. Restore migrations 0003-0006, which were deleted while the model still uses their fields, so fresh installations get all columns. Existing installations already have them recorded as applied. Bump version to 0.3.2.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-13 14:13:22 +02:00
MrBlake 646c67bbd2 Fix stable migration dependencies for NetBox 4.6 2026-08-19 10:06:44 +02:00