diff --git a/scripts/install b/scripts/install index 9425a25..5613815 100644 --- a/scripts/install +++ b/scripts/install @@ -41,6 +41,13 @@ ynh_add_config --template="../conf/config.dist.php" --destination="$install_dir/ chmod 644 "$install_dir/config.php" chown $app: "$install_dir/config.php" +#================================================= +# DATABASE CONFIGURATION +#================================================= +ynh_script_progression --message="Adding database configuration..." --weight=1 + +ynh_mysql_connect_as --user="user" --password="pass" < $install_dir/db/SCHEMA.sql + #================================================= # GENERIC FINALIZATION #=================================================