Last active
June 7, 2016 15:30
-
-
Save sephii/43ad0a1f0adbdbf8167685716e3009a7 to your computer and use it in GitHub Desktop.
Django: make tests fail if you forgot to generate 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
#!/bin/sh | |
./manage.py makemigrations --dry-run -e --no-input -v1 && echo "Missing migrations detected!" && exit 1; exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment