Created
February 1, 2019 21:09
-
-
Save bernardoduarte/043b2e5e4b38339c140d41d4c2df9c36 to your computer and use it in GitHub Desktop.
Undoer of all django migrations utility
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python manage.py showmigrations | grep '^[^ ]' | while read line ; do python manage.py migrate $line zero ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment