mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Fix postgresql database removal error
in new ynh_psql_remove_db db_name and db_user have been inverted in legacy mode
This commit is contained in:
parent
90a0331309
commit
5e9e9ac4e4
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,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';"
|
||||
|
||||
# delete postgresql database & user
|
||||
ynh_psql_remove_db "$db_name" "$app"
|
||||
ynh_psql_remove_db --db_name="$db_name" --db_user="$app"
|
||||
|
||||
#=================================================
|
||||
# REMOVE DEPENDENCIES
|
||||
|
|
Loading…
Reference in a new issue