Last active
June 12, 2017 14:48
-
-
Save RomuloOliveira/2886a594ea38d935c42934964ea5574f to your computer and use it in GitHub Desktop.
Check for missing migrations
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
django/manage.py makemigrations --dry-run --noinput --settings=$(SETTINGS) | grep 'No changes detected' -q || (echo 'Missing migration detected!' && exit 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment