mirror of https://github.com/zulip/zulip.git
test-migrations: Suggest 'renumber-migrations'.
This commit is contained in:
parent
014ec04620
commit
79e48dc222
|
@ -3,7 +3,8 @@ set -e
|
|||
echo 'Testing whether migrations are consistent with models'
|
||||
if ! ./manage.py makemigrations --check --dry-run; then
|
||||
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
|
||||
exit 1
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue