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

Add missing sliding sync proxy db on restore

This commit is contained in:
Josué Tille 2024-08-22 12:13:24 +02:00
parent 0f5060cb49
commit 695e2f0169
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -32,6 +32,7 @@ ynh_script_progression --message="Fixing database type..." --weight=1
ynh_psql_execute_as_root \
--sql="update pg_database set datcollate='C', datctype='C' where datname='$db_name';"
ynh_''psql_setup_db --db_user="$db_user" --db_pwd="$db_pwd" --db_name="$db_name_slidingproxy"
#=================================================
# RESTORE ALL CONFIG AND DATA