debian-mirror-gitlab/lib/tasks/migrate/setup_postgresql.rake

9 lines
350 B
Ruby
Raw Normal View History

2015-10-24 18:46:33 +05:30
require Rails.root.join('db/migrate/20151007120511_namespaces_projects_path_lower_indexes')
require Rails.root.join('db/migrate/20151008110232_add_users_lower_username_email_indexes')
desc 'GitLab | Sets up PostgreSQL'
task setup_postgresql: :environment do
NamespacesProjectsPathLowerIndexes.new.up
AddUsersLowerUsernameEmailIndexes.new.up
end