Skip to content
Snippets Groups Projects
Commit 4a0deab1 authored by Yorick Peterse's avatar Yorick Peterse
Browse files

Added dedicated Rake task for setting up Postgres

This ensures any PostgreSQL specific schema changes (e.g. expression
indexes) are created when setting up the database.
parent 95464320
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -16,6 +16,7 @@ namespace :gitlab do
 
Rake::Task["db:setup"].invoke
Rake::Task["add_limits_mysql"].invoke
Rake::Task["setup_postgresql"].invoke
Rake::Task["db:seed_fu"].invoke
rescue Gitlab::TaskAbortedByUserError
puts "Quitting...".red
Loading
Loading
require Rails.root.join('db/migrate/20151007120511_namespaces_projects_path_lower_indexes')
desc 'GitLab | Sets up PostgreSQL'
task setup_postgresql: :environment do
NamespacesProjectsPathLowerIndexes.new.up
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment