Connect to the zulip database correctly in postgres-init-db

(imported from commit b6ab80567ff5d229a00c7d2cf5866bca0ee9c7c5)
This commit is contained in:
Reid Barton 2015-08-28 10:40:29 -07:00
parent 73264ab530
commit 5be0c2902e
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ DROP DATABASE IF EXISTS zulip;
CREATE DATABASE zulip OWNER=zulip; CREATE DATABASE zulip OWNER=zulip;
EOF EOF
su postgres -c psql zulip <<EOF su postgres -c 'psql zulip' <<EOF
CREATE SCHEMA zulip AUTHORIZATION zulip; CREATE SCHEMA zulip AUTHORIZATION zulip;
CREATE EXTENSION tsearch_extras SCHEMA zulip; CREATE EXTENSION tsearch_extras SCHEMA zulip;
EOF EOF