[Answered ]-Recreate deleted django_migrations table

1👍

To recreate django_migrations simply use

./manage.py migrate --fake

But please be careful with that as mentioned here:

If you break something, nobody can help you probably, because the
migration system will not know the current state of the database more.
Therefore do a backup, write notes, use a sandbox and work precisely.

Django migrate –fake and –fake-initial explained

Leave a comment