diff --git a/scripts/restore b/scripts/restore index 5897951..3caf63e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -43,6 +43,9 @@ ynh_script_progression --message="Restoring the PostgreSQL database..." --weight ynh_psql_connect_as --user=$db_user --password=$db_pwd --database=$db_name < ./db.sql +ynh_script_progression --message="Updating database configuration..." +ynh_psql_execute_as_root --sql="CREATE EXTENSION IF NOT EXISTS uuid-ossp;" --database=$db_name + #================================================= # RESTORE SYSTEM CONFIGURATIONS #================================================= @@ -83,4 +86,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" --last \ No newline at end of file +ynh_script_progression --message="Restoration completed for $app" --last