gitlab module: enable postgres pg_trgm extension

(cherry picked from commit 0fa64b718f)
This commit is contained in:
Robin Gloster
2016-09-20 17:44:31 +02:00
parent 18e12537d0
commit fdec46d115

View File

@@ -533,6 +533,8 @@ in {
fi
fi
# enable required pg_trgm extension for gitlab
psql gitlab -c "CREATE EXTENSION IF NOT EXISTS pg_trgm"
# Always do the db migrations just to be sure the database is up-to-date
${gitlab-rake}/bin/gitlab-rake db:migrate RAILS_ENV=production