mirror of https://github.com/zulip/zulip.git
test-migrations: Add django_two_factor migrations to exclude list.
We don't control the names for these migrations.
This commit is contained in:
parent
42fe331093
commit
bd110ccb3c
|
@ -7,7 +7,9 @@ echo 'Testing whether migrations are consistent with models'
|
||||||
new_auto_named_migrations=$(./manage.py showmigrations \
|
new_auto_named_migrations=$(./manage.py showmigrations \
|
||||||
| grep -E ' [0-9]{4}_auto_' \
|
| grep -E ' [0-9]{4}_auto_' \
|
||||||
| grep -Eve ' [0-9]{4}_auto_201[67]' \
|
| grep -Eve ' [0-9]{4}_auto_201[67]' \
|
||||||
-e ' 0052_auto_fix_realmalias_realm_nullable' \
|
-e ' 0052_auto_fix_realmalias_realm_nullable' \
|
||||||
|
-e ' 0003_auto_20150817_1733' \
|
||||||
|
-e ' 0002_auto_20150110_0810' \
|
||||||
|| true)
|
|| true)
|
||||||
if [ "$new_auto_named_migrations" != "" ]; then
|
if [ "$new_auto_named_migrations" != "" ]; then
|
||||||
echo "ERROR: New migrations with unclear automatically generated names."
|
echo "ERROR: New migrations with unclear automatically generated names."
|
||||||
|
|
Loading…
Reference in New Issue