Skip to content

Commit

Permalink
nixos/gitlab: fix hard-coded database name
Browse files Browse the repository at this point in the history
  • Loading branch information
brainrake authored and globin committed Oct 30, 2017
1 parent b8a7c45 commit 29e80bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/services/misc/gitlab.nix
Expand Up @@ -619,7 +619,7 @@ in {
fi
# enable required pg_trgm extension for gitlab
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql gitlab -c "CREATE EXTENSION IF NOT EXISTS pg_trgm"
${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql ${cfg.databaseName} -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
Expand Down

0 comments on commit 29e80bd

Please sign in to comment.