Plugin Model Change - Migrations Not Happening #7316
-
I've got a plugin, and I made some changes to models.py (added a field to a model), but the change is not being detected. I re-installed the plugin with the new field added to models.py, but when I run The plugin is properly configured as it's working just fine otherwise. Configuration file is done properly. It's just not picking up my migrations that will be needed. What am I missing? (Netbox Version 2.11.12) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Try running it with the name of the plugin specified; e.g. |
Beta Was this translation helpful? Give feedback.
Try running it with the name of the plugin specified; e.g.
python3 manage.py migrate plugin_name
. I'm not sure why but it seems that Django sometimes doesn't pick up plugin migrations automatically.