Skip to content

Commit

Permalink
est
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGibson committed May 14, 2020
1 parent 8c8d231 commit 3315e0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hook/django_migrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ set -o pipefail
set -o nounset

if ! command python manage.py makemigrations --dry-run | grep 'No changes detected'; then
>&2 echo 'Migrations found'
exit 1
fi

0 comments on commit 3315e0a

Please sign in to comment.