From 1fbc3b508af07c12e1bcb625448fe7d1c8ba8ce1 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 10 Feb 2017 16:08:13 -0800 Subject: [PATCH] test-migrations: Switch to --check from deprecated -e. --- tools/test-migrations | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-migrations b/tools/test-migrations index 807cb443ed..6886527d40 100755 --- a/tools/test-migrations +++ b/tools/test-migrations @@ -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