1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

Added database migration

This commit is contained in:
anmol 2018-11-11 01:46:36 +05:30
parent 41c85e1d72
commit 5c1e7f51ff

View file

@ -113,6 +113,8 @@ ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"
# Import database schema
ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" < $final_path/schema.sql
#=================================================
# NGINX CONFIGURATION