[Django]-Make Django forget an incorrect 'makemigration'

1đź‘Ť

âś…

Used and unused migrations hang out in ./app/migrations. I deleted all migration files after the initial migration, then ran a new makemigrations that didn’t have the format error.

I’m not satisfied with this as a solution. I’d still love to hear a better answer.

👤aubaub

1đź‘Ť

https://south.readthedocs.org/en/latest/tutorial/part3.html

./manage.py schemamigration [myapp] –auto –update

rolls back the last migration

👤joeskru

Leave a comment