forked from mirrors/nixpkgs
gitlab module: enable postgres pg_trgm extension
This commit is contained in:
parent
ea1afcd9f4
commit
0fa64b718f
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue