mirror of
https://github.com/ansible/awx.git
synced 2026-02-24 14:36:00 -03:30
Minor fix to migration cleanup target.
This commit is contained in:
2
Makefile
2
Makefile
@@ -50,7 +50,7 @@ dbchange:
|
|||||||
|
|
||||||
migrate: syncdb
|
migrate: syncdb
|
||||||
# This command fixes migrations following the cleanup for the 1.2b1 release.
|
# This command fixes migrations following the cleanup for the 1.2b1 release.
|
||||||
-(python manage.py migrate main 2>&1 | grep 0017_changes) && python manage.py migrate main --delete-ghost-migrations --fake 0001_v12b1_initial
|
-(python manage.py migrate main 2>&1 | grep 0017_changes) && (python manage.py migrate main --delete-ghost-migrations --fake 0001_v12b1_initial || python manage.py migrate main --fake)
|
||||||
# run this to apply changes to the model
|
# run this to apply changes to the model
|
||||||
python manage.py migrate --noinput
|
python manage.py migrate --noinput
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user