From f5e3aeb15a52952e3d2ba72d382aac583c1a3fed Mon Sep 17 00:00:00 2001 From: Jenny Danzmayr Date: Fri, 1 Dec 2023 17:06:50 +0100 Subject: [PATCH] docker entrypoint: fixed automigration message --- docker/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ab477bc1..75a0d0f1 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -10,8 +10,8 @@ export WEB_CONCURRENCY="${WEB_CONCURRENCY:-$UWSGI_WORKERS}" automigrate() { AUTOMIGRATE="${C3NAV_AUTOMIGRATE:no}" - echo "Running migrations as automigrate is enabled. Set \"C3NAV_AUTOMIGRATE\" to \"no\" or \"false\" to disable." if [[ "$AUTOMIGRATE" == "yes" || "$AUTOMIGRATE" == "true" ]]; then + echo "Running migrations as automigrate is enabled. Set \"C3NAV_AUTOMIGRATE\" to \"no\" or \"false\" to disable." python manage.py migrate fi }