From 9b2b87a4d307f087b6f0db9a9c76328e2691d6ad Mon Sep 17 00:00:00 2001 From: navanchauhan Date: Tue, 31 May 2022 17:03:25 -0600 Subject: [PATCH] remove db on uninstall --- scripts/remove | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/remove b/scripts/remove index abc41aa..3624a6c 100755 --- a/scripts/remove +++ b/scripts/remove @@ -16,6 +16,8 @@ ynh_script_progression --message="Loading installation settings..." --time --wei app=$YNH_APP_INSTANCE_NAME +db_name=$(ynh_sanitize_dbid --db_name=$app) +db_user=$db_name domain=$(ynh_app_setting_get --app=$app --key=domain) port=$(ynh_app_setting_get --app=$app --key=port) final_path=$(ynh_app_setting_get --app=$app --key=final_path)