1đź‘Ť
âś…
In the directory for the app whose migration is “messed up”, there should be a sub-directory called “migrations.” If you delete the files in that directory (all, or just the one that caused the problem) you can re-run manage.py schemamigration yourapp.
👤Basti
Source:stackexchange.com