From a2c3da2ef290d8f27ae88da56518200627bc53a3 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Sun, 27 Jul 2014 13:28:47 +0200 Subject: [PATCH] Add missing tables at upgrade --- scripts/upgrade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index f10f818..7ed7cf8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -31,6 +31,9 @@ echo "Setting up database..." db_user=phpmyadmin db_pwd=$(sudo yunohost app setting phpmyadmin mysqlpwd) +# Update tables +mysql -u $db_user -p$db_pwd < ../conf/create_tables.sql + # Configuration echo "Configuring application..." sed -i "s@YNH_DOMAIN@$domain@g" ../conf/config.inc.php