Django renaming App and migrations
问题 I have django app named "app1" with models and migrations files. I renamed this app to "app2" and I fixed all imports, urls ... But I have a problem with migrations files and data in tables. How can I write migrations with the correct way to ensure: - New installation => create the new tables - Update old versions => create new tables, move data, remove old tables PS: there is several tables with many FK. Here is my progress, I am not sure if I am on the good way: - all old migrations removed