mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Fix db removal
This commit is contained in:
parent
1117ef8d6e
commit
600ae3affa
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ ynh_psql_execute_as_root "\connect $db_name
|
|||
SELECT pg_terminate_backend (pg_stat_activity.pid) FROM pg_stat_activity WHERE pg_stat_activity.datname = '$db_name';"
|
||||
|
||||
# Remove a database if it exists, along with the associated user
|
||||
ynh_psql_remove_db "$db_name" "$app"
|
||||
ynh_psql_remove_db "$db_name" "$db_name"
|
||||
|
||||
#=================================================
|
||||
# REMOVE DEPENDENCIES
|
||||
|
|
Loading…
Add table
Reference in a new issue