What if I used an app that didn't use South migration in let's say version 0.4 and wanted to upgrade it to the latest version of let's say 0.6 which has included a migration directory that has 0001_initial and 0002_some_new_fields_added.
How would you got about that in production environment?
Assumption: The Django project didn't rely on South before!
Is the following the right way as per South's tutorial?
- stay on the old version of the app for now
- include South in the INSTALLED_APPS
- run schemamigration theAPP --fake
- upgrade the app
- run schemamigration OtherApps --fake (optional)
- run migration theAPP --all
Done?
I did this, the migration was invoked on the app, however, "no migration found" was displayed. I verified that the migration directory and items were present.
What step did I miss?
Disclaimer: The App is my own (http://github.com/un33k/django-emailmgr) and initially I didn't release it with migration built-in, then in version 0.5 I included initial and changes in the migration directory. But things didn't go smooth when I tried to upgrade the app within my own Django project. So, I ended up to do things manually.