Create btree_gist extension in postgres database
This commit is contained in:
parent
735863d103
commit
5e8055944a
1 changed files with 2 additions and 0 deletions
2
debian/gitlab.postinst
vendored
2
debian/gitlab.postinst
vendored
|
@ -314,6 +314,8 @@ case "$1" in
|
||||||
# enable the pg_trgm extension
|
# enable the pg_trgm extension
|
||||||
runuser -u postgres -- sh -c "psql -d gitlab_production -c \"CREATE EXTENSION IF NOT EXISTS pg_trgm;\""
|
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
|
# Allow gitlab user to create schema
|
||||||
runuser -u postgres -- sh -c "psql -c \"GRANT CREATE ON database gitlab_production TO ${gitlab_user};\""
|
runuser -u postgres -- sh -c "psql -c \"GRANT CREATE ON database gitlab_production TO ${gitlab_user};\""
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue