Skip to content

Commit

Permalink
Merge branch 'master' into blentz-wip
Browse files Browse the repository at this point in the history
  • Loading branch information
blentz authored Mar 25, 2021
2 parents 0472b4e + da715dc commit 9ac421f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_migrations.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

RESULT=$(scl enable rh-python38 "${APP_HOME}/manage.py check_migrations")
RESULT=$(scl enable rh-python38 "${APP_HOME}/manage.py check_migrations | tail -1")

if [ "$RESULT" = "True" ]; then
echo "Migration already executed."
Expand Down

0 comments on commit 9ac421f

Please sign in to comment.