2👍
✅
If there are no performed migrations in history, solution is simple:
- Check structure of your tables in database
- Modify your models (undo some recent changes) so they will correspond to your database structure
- Remove all migrations (don’t forget *.pyc files)
- run makemigrations on your app
- run
migrate --fake-initial
- redo all changes to your models
- run makemigrations again
- run migrate
Source:stackexchange.com