1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

Add missing tables at upgrade

This commit is contained in:
Julien Malik 2014-07-27 13:28:47 +02:00
parent 31f9e3b34c
commit a2c3da2ef2

View file

@ -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