From: Guillaume Pellerin Date: Wed, 4 Nov 2020 14:31:33 +0000 (+0100) Subject: [app] add migrate at boot X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=d2281e80c9c930311865eb55f37413760e9b34d4;p=mezzo.git [app] add migrate at boot --- 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