1👍
✅
Remove the corresponding files from yourapp/migrations
. There are all files stored after you called
python manage.py makemigrations
These files are named like 0001_initial.py
.
If there is no file, nothing happens when you call
python manage.py migrate
When your model is ready, you can create new migrations for your database.
👤n2o
0👍
You should use the --fake
option when you run migrate
to mark those migrations as applied.
Source:stackexchange.com