anmol26s 2018-08-03 05:45:44 -04:00 committed by GitHub
parent c833bf151e
commit 6b5ef6241b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,8 +58,8 @@ systemctl stop "$app"
# Add PostgreSQL extension for v1.0.0-beta.10.pre.1
#===================================================
sudo --login --user=postgres psql "$db_name" "CREATE EXTENSION IF NOT EXISTS unaccent;"
sudo --login --user=postgres psql "$db_name" "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
ynh_psql_execute_as_root "\connect $db_name
CREATE EXTENSION IF NOT EXISTS unaccent;CREATE EXTENSION IF NOT EXISTS pg_trgm;"
#=================================================
# REMOVE APP MAIN DIR