diff --git a/scripts/restore b/scripts/restore index f8c6e66..feded36 100644 --- a/scripts/restore +++ b/scripts/restore @@ -132,7 +132,7 @@ fi db_pwd=$(ynh_app_setting_get "$app" db_pwd) ynh_psql_test_if_first_run -ynh_psql_setup_db "$db_name" "$db_name" "$db_pwd" +ynh_psql_setup_db "$db_user" "$db_name" "$db_pwd" ynh_psql_execute_file_as_root ./db.sql "$db_name" #=================================================