Skip to content

Instantly share code, notes, and snippets.

@paneru-rajan
Last active March 15, 2018 10:08
Show Gist options
  • Save paneru-rajan/15cd40398061d8e311c37e243a5486aa to your computer and use it in GitHub Desktop.
Save paneru-rajan/15cd40398061d8e311c37e243a5486aa to your computer and use it in GitHub Desktop.
django resolve migration

To clean migrate again

python manage.py makemigrations appname

python manage.py migrate --run-syncdb

python manage.py migrate --fake appname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment