Create btree_gist extension in postgres database

This commit is contained in:
Pirate Praveen 2020-10-25 23:10:15 +05:30
parent 735863d103
commit 5e8055944a
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75

View file

@ -314,6 +314,8 @@ case "$1" in
# enable the pg_trgm extension
runuser -u postgres -- sh -c "psql -d gitlab_production -c \"CREATE EXTENSION IF NOT EXISTS pg_trgm;\""
# enable the btree_gist extension
runuser -u postgres -- sh -c "psql -d gitlab_production -c \"CREATE EXTENSION IF NOT EXISTS btree_gist;\""
# Allow gitlab user to create schema
runuser -u postgres -- sh -c "psql -c \"GRANT CREATE ON database gitlab_production TO ${gitlab_user};\""