nautobot-app-device-lifecycle-mgmt icon indicating copy to clipboard operation
nautobot-app-device-lifecycle-mgmt copied to clipboard

Migrations not reversible

Open whitej6 opened this issue 3 months ago • 1 comments

Environment

  • Python version: 3.11
  • Nautobot version: 2.1.x
  • nautobot-device-lifecycle-mgmt version: latest

Expected Behavior

nautobot-server migrate nautobot_device_lifecycle_mgmt zero

Observed Behavior

Following migrations do not have a reverse_code

  • 0019
  • 0017
  • 0008

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

  • 0004_squash__0004_0014_0015_0016 - nautobot_device_lifecycle_mgmt_validatedsoftwarelcm

Steps to Reproduce

whitej6 avatar Mar 13 '24 18:03 whitej6

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.

whitej6 avatar Mar 13 '24 18:03 whitej6