diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-01-19 13:23:53 +0000 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-01-19 13:23:53 +0000 |
commit | 1b51018eeda7fd98c519a240a222f4184359c5aa (patch) | |
tree | bbd13c2737be4cee3f347b9ac12bf71cc19b236a /lib/tasks | |
parent | bd24529131484f6daee150303f634c2f2f901767 (diff) | |
parent | 29ccc7518eba62a1d8828570a57918403ea11783 (diff) | |
download | gitlab-ce-1b51018eeda7fd98c519a240a222f4184359c5aa.tar.gz |
Merge branch 'fix-redirect-routes-schema' into 'master'
rework indexes on redirect_routes
See merge request gitlab-org/gitlab-ce!16211
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/migrate/setup_postgresql.rake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tasks/migrate/setup_postgresql.rake b/lib/tasks/migrate/setup_postgresql.rake index c9e3eed82f2..c996537cfbe 100644 --- a/lib/tasks/migrate/setup_postgresql.rake +++ b/lib/tasks/migrate/setup_postgresql.rake @@ -7,6 +7,7 @@ require Rails.root.join('db/migrate/20170317203554_index_routes_path_for_like') require Rails.root.join('db/migrate/20170724214302_add_lower_path_index_to_redirect_routes') require Rails.root.join('db/migrate/20170503185032_index_redirect_routes_path_for_like') require Rails.root.join('db/migrate/20171220191323_add_index_on_namespaces_lower_name.rb') +require Rails.root.join('db/migrate/20180113220114_rework_redirect_routes_indexes.rb') desc 'GitLab | Sets up PostgreSQL' task setup_postgresql: :environment do @@ -17,4 +18,5 @@ task setup_postgresql: :environment do AddLowerPathIndexToRedirectRoutes.new.up IndexRedirectRoutesPathForLike.new.up AddIndexOnNamespacesLowerName.new.up + ReworkRedirectRoutesIndexes.new.up end |