Tweaked psql command in upgrade
This commit is contained in:
parent
7ae644a4ac
commit
c833bf151e
|
@ -58,10 +58,8 @@ systemctl stop "$app"
|
||||||
# Add PostgreSQL extension for v1.0.0-beta.10.pre.1
|
# Add PostgreSQL extension for v1.0.0-beta.10.pre.1
|
||||||
#===================================================
|
#===================================================
|
||||||
|
|
||||||
ynh_psql_execute_as_root \
|
sudo --login --user=postgres psql "$db_name" "CREATE EXTENSION IF NOT EXISTS unaccent;"
|
||||||
"CREATE EXTENSION IF NOT EXISTS unaccent;" "$db_name"
|
sudo --login --user=postgres psql "$db_name" "CREATE EXTENSION IF NOT EXISTS pg_trgm;"
|
||||||
ynh_psql_execute_as_root \
|
|
||||||
"CREATE EXTENSION IF NOT EXISTS pg_trgm;" "$db_name"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE APP MAIN DIR
|
# REMOVE APP MAIN DIR
|
||||||
|
|
Loading…
Reference in a new issue