Loading exec.sh +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ echo "INJECT: Booting up" if [ "$(python manage.py showmigrations | wc -l)" -ne 0 ]; then echo "INJECT: Running missing migrations" python manage.py migrate if [ $? -ne 0 ]: then if [ $? -ne 0 ]; then echo "INJECT: Failed to apply migrations" exit 1 fi Loading Loading
exec.sh +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ echo "INJECT: Booting up" if [ "$(python manage.py showmigrations | wc -l)" -ne 0 ]; then echo "INJECT: Running missing migrations" python manage.py migrate if [ $? -ne 0 ]: then if [ $? -ne 0 ]; then echo "INJECT: Failed to apply migrations" exit 1 fi Loading