During Ganeti Web Manager refactoring one huge application (ganeti_web
) was turned into many smaller applications (actual list: authentication
, clusters
, django_test_tools
, ganeti_web
, jobs
, muddle
, muddle_users
, nodes
, utils
, virtualmachines
, vm_templates
).
However, over 19 migrations are still placed in ganeti_web
application. How to make them work? My idea is as follows:
- Run
ganeti_web
migrations first - (fake migration
0008
, because it fails; then continueganeti_web
migrations) -- not true anymore, I just commented out that migration - run schema migrations for other apps (only change table names)
- proceed with any other (future) migrations
Because there are no models in ganeti_web
, developers shouldn't create any migrations for this application. Instead, create migrations for specific applications -- just remember to proceed with bigger migration number.