Skip to content

Commit

Permalink
test-migrations: Switch to --check from deprecated -e.
Browse files Browse the repository at this point in the history
  • Loading branch information
timabbott committed Feb 11, 2017
1 parent c14e981 commit 1fbc3b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/test-migrations
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
echo 'Testing whether migrations are consistent with models'
if ./manage.py makemigrations -e --dry-run; then
if ./manage.py makemigrations --check --dry-run; then
echo
echo 'ERROR: Migrations are not consistent with models! Fix with `./manage.py makemigrations`.'
echo
Expand Down

0 comments on commit 1fbc3b5

Please sign in to comment.