diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-03-21 13:48:09 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-03-21 13:48:09 +0000 |
commit | b3d77dba602e32e15dd4594f73df16de2b88486d (patch) | |
tree | 8ee2b6468f7654fcfb558573d197aa36490a7e36 /lib/tasks | |
parent | 7f411ea3a02dc96ac7bfb4b04828bbcca0005092 (diff) | |
parent | 69af06dda6bb8965a775360a836b0aab0447ccf6 (diff) | |
download | gitlab-ce-b3d77dba602e32e15dd4594f73df16de2b88486d.tar.gz |
Merge branch 'index-routes-path-for-like' into 'master'
Add LIKE index for routes.path
Closes #29554
See merge request !10060
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 f5caca3ddbf..8938bc515f5 100644 --- a/lib/tasks/migrate/setup_postgresql.rake +++ b/lib/tasks/migrate/setup_postgresql.rake @@ -3,10 +3,12 @@ require Rails.root.join('lib/gitlab/database/migration_helpers') 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') require Rails.root.join('db/migrate/20161212142807_add_lower_path_index_to_routes') +require Rails.root.join('db/migrate/20170317203554_index_routes_path_for_like') desc 'GitLab | Sets up PostgreSQL' task setup_postgresql: :environment do NamespacesProjectsPathLowerIndexes.new.up AddUsersLowerUsernameEmailIndexes.new.up AddLowerPathIndexToRoutes.new.up + IndexRoutesPathForLike.new.up end |