nautobot / nautobot-app-device-lifecycle-mgmt

Device Lifecycle Management App for Nautobot
https://docs.nautobot.com/projects/device-lifecycle/en/latest/
Other
38 stars 25 forks source link

Migrations not reversible #316

Open whitej6 opened 3 months ago

whitej6 commented 3 months ago

Environment

Expected Behavior

nautobot-server migrate nautobot_device_lifecycle_mgmt zero

Observed Behavior

Following migrations do not have a reverse_code

Following tables need to be empty to be able to be reversible

whitej6 commented 3 months ago

0004_squash__0004_0014_0015_0016 - causes problems on migrate zero, after migrate zero this entry many need to be manually removed from the django_migrations table.

chris-tomkins-flexgrid commented 2 weeks ago

Also affected by this, I believe - 0019_cve_and_contract_m2m_migration is not reversible when nautobot-server migrate nautobot_device_lifecycle_mgmt zero