]> git.parisson.com Git - telemeta.git/commitdiff
Remove Timeside server database
authorThomas Fillon <thomas@parisson.com>
Tue, 20 Jun 2017 15:56:57 +0000 (17:56 +0200)
committerThomas Fillon <thomas@parisson.com>
Tue, 20 Jun 2017 15:56:57 +0000 (17:56 +0200)
app/scripts/app.sh

index aa10fa66ef06c4b0217bced5c81ef366c6f351ef..21d6daaf6db016f50b912e4715ba8b42ed575733 100644 (file)
@@ -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