File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1414
1515if [ ${RUN_MIGRATIONS:- 0} = 1 ]; then
1616 echo " ==> $( date +%H:%M:%S) ==> Migrating Django models... "
17- # DB_STATEMENT_TIMEOUT=0 python manage.py migrate --noinput
18- # Check migration 0097 is not applied, so we don't rollback to 0096
19- if python manage.py showmigrations history | grep -q ' \[ \] 0097' ; then
20- DB_STATEMENT_TIMEOUT=0 python manage.py migrate --noinput history 0096
21- fi
22- SECONDS=0
23- (
24- echo " Starting migration 0097 for denormalization" &&
25- DB_STATEMENT_TIMEOUT=0 python manage.py migrate --noinput &&
26- echo " Migration 0097 for denormalization was successful in ${SECONDS} seconds"
27- ) &
17+ DB_STATEMENT_TIMEOUT=0 python manage.py migrate --noinput
2818
2919 echo " ==> $( date +%H:%M:%S) ==> Setting up service... "
3020 python manage.py setup_service
You can’t perform that action at this time.
0 commit comments