From f2edf885f042a290e7983e9ee56b95cd1440c0b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 24 Oct 2023 08:51:51 +0200 Subject: [PATCH] Update restore --- scripts/restore | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/restore b/scripts/restore index acf7404..472ab6a 100755 --- a/scripts/restore +++ b/scripts/restore @@ -34,11 +34,6 @@ chown -R "$app:www-data" "$data_dir" #================================================= ynh_script_progression --message="Restoring the PostgreSQL database..." --weight=5 -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS unaccent;" --database="$db_name" -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS pg_trgm;" --database="$db_name" -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS citext;" --database="$db_name" -ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" --database="$db_name" - ynh_mysql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql #=================================================