test-migrations: Suggest 'renumber-migrations'.

This commit is contained in:
Raghav Jajodia 2017-04-05 15:19:21 +05:30 committed by Tim Abbott
parent 014ec04620
commit 79e48dc222
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ set -e
echo 'Testing whether migrations are consistent with models' echo 'Testing whether migrations are consistent with models'
if ! ./manage.py makemigrations --check --dry-run; then if ! ./manage.py makemigrations --check --dry-run; then
echo echo
echo 'ERROR: Migrations are not consistent with models! Fix with `./manage.py makemigrations`.' echo 'ERROR: Migrations are not consistent with models! Fix with `./tools/renumber-migrations`.'
echo 'See http://zulip.readthedocs.io/en/latest/schema-migrations.html for details.'
echo echo
exit 1 exit 1
else else