mirror of https://github.com/zulip/zulip.git
Connect to the zulip database correctly in postgres-init-db
(imported from commit b6ab80567ff5d229a00c7d2cf5866bca0ee9c7c5)
This commit is contained in:
parent
73264ab530
commit
5be0c2902e
|
@ -7,7 +7,7 @@ DROP DATABASE IF EXISTS zulip;
|
|||
CREATE DATABASE zulip OWNER=zulip;
|
||||
EOF
|
||||
|
||||
su postgres -c psql zulip <<EOF
|
||||
su postgres -c 'psql zulip' <<EOF
|
||||
CREATE SCHEMA zulip AUTHORIZATION zulip;
|
||||
CREATE EXTENSION tsearch_extras SCHEMA zulip;
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue