From ec1a0d0c3d0a92cb599971f644792e106e6a1361 Mon Sep 17 00:00:00 2001 From: Thomas Fillon Date: Tue, 20 Jun 2017 17:56:57 +0200 Subject: [PATCH] Remove Timeside server database --- app/scripts/app.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/scripts/app.sh b/app/scripts/app.sh index aa10fa66..21d6daaf 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -34,6 +34,9 @@ python $manage collectstatic --noinput python $manage telemeta-create-admin-user python $manage telemeta-create-boilerplate +# Delete Timeside database if it exists +cat /srv/src/telemeta/scripts/sql/drop_timeside.sql | python $manage dbshell + if [ $REINDEX = "True" ]; then python $manage rebuild_index --noinput fi -- 2.39.5