3
0
Fork 0
forked from mirrors/nixpkgs

gitlab module: enable postgres pg_trgm extension

This commit is contained in:
Robin Gloster 2016-09-20 17:44:31 +02:00
parent ea1afcd9f4
commit 0fa64b718f
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882

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