Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.