Revision history  [back]

Yes here is how this can be done in Django, assuming your database tables are fully migrated:

python manage.py flush --noinput
python manage.py migrate --fake --noinput

The second step will restore the migrations history, so that later new migrations can be applied.