From 07016facbafdedb23eb25b2c957d431e941965f7 Mon Sep 17 00:00:00 2001 From: Roger Steve Ruiz Date: Thu, 25 Jan 2018 11:12:18 -0500 Subject: [PATCH] Add a message about migrations not running --- bin/run.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/run.sh b/bin/run.sh index a180336a3..03f7ca0a2 100755 --- a/bin/run.sh +++ b/bin/run.sh @@ -9,6 +9,12 @@ cd tock if [[ -v CF_INSTANCE_INDEX && $CF_INSTANCE_INDEX == 0 ]] then python manage.py migrate --settings=tock.settings.production --noinput +else + echo "Migrations did not run." + if [[ -v CF_INSTANCE_INDEX ]] + then + echo "CF Instance Index is ${CF_INSTANCE_INDEX}." + fi fi python manage.py collectstatic --settings=tock.settings.production --noinput