mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 01:57:35 -03:30
Minor fix to migration cleanup target.
This commit is contained in:
parent
c0aaff7850
commit
c71a04dfb0
2
Makefile
2
Makefile
@ -50,7 +50,7 @@ dbchange:
|
||||
|
||||
migrate: syncdb
|
||||
# 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
|
||||
python manage.py migrate --noinput
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user