From d2281e80c9c930311865eb55f37413760e9b34d4 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 4 Nov 2020 15:31:33 +0100 Subject: [PATCH] [app] add migrate at boot --- app/bin/app.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/bin/app.sh b/app/bin/app.sh index bde9920a..630a5f06 100755 --- a/app/bin/app.sh +++ b/app/bin/app.sh @@ -41,6 +41,8 @@ if [ ! -f .init ]; then touch .init fi +python $manage migrate --noinput + # app start if [ "$1" = "--runserver" ]; then python $manage runserver 0.0.0.0:8000 -- 2.39.5