mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-02 04:53:38 +00:00
Changed the postgres user back to the env var DB_USER
This commit is contained in:
@@ -82,9 +82,9 @@ EOF
|
||||
ALTER ROLE zulip SET search_path TO zulip,public;
|
||||
CREATE DATABASE zulip OWNER=zulip;
|
||||
CREATE SCHEMA zulip AUTHORIZATION zulip;
|
||||
""" | psql -h "$DB_HOST" -p "$DB_PORT" -U "postgres" || :
|
||||
""" | psql -h "$DB_HOST" -p "$DB_PORT" -U "$DB_USER" || :
|
||||
echo "CREATE EXTENSION tsearch_extras SCHEMA zulip;" | \
|
||||
psql -h "$DB_HOST" -p "$DB_PORT" -U "postgres" "zulip" || :
|
||||
psql -h "$DB_HOST" -p "$DB_PORT" -U "$DB_USER" "zulip" || :
|
||||
}
|
||||
databaseInitiation(){
|
||||
echo "Migrating database ..."
|
||||
|
||||
Reference in New Issue
Block a user