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:
parent
31f9e3b34c
commit
a2c3da2ef2
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,9 @@ echo "Setting up database..."
|
||||||
db_user=phpmyadmin
|
db_user=phpmyadmin
|
||||||
db_pwd=$(sudo yunohost app setting phpmyadmin mysqlpwd)
|
db_pwd=$(sudo yunohost app setting phpmyadmin mysqlpwd)
|
||||||
|
|
||||||
|
# Update tables
|
||||||
|
mysql -u $db_user -p$db_pwd < ../conf/create_tables.sql
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
echo "Configuring application..."
|
echo "Configuring application..."
|
||||||
sed -i "s@YNH_DOMAIN@$domain@g" ../conf/config.inc.php
|
sed -i "s@YNH_DOMAIN@$domain@g" ../conf/config.inc.php
|
||||||
|
|
Loading…
Reference in a new issue