diff options
Diffstat (limited to 'db/migrate/20200914104642_modify_merge_request_api_index.rb')
-rw-r--r-- | db/migrate/20200914104642_modify_merge_request_api_index.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20200914104642_modify_merge_request_api_index.rb b/db/migrate/20200914104642_modify_merge_request_api_index.rb deleted file mode 100644 index c21404a10c2..00000000000 --- a/db/migrate/20200914104642_modify_merge_request_api_index.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -# See https://docs.gitlab.com/ee/development/migration_style_guide.html -# for more information on how to write migrations for GitLab. - -class ModifyMergeRequestApiIndex < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - disable_ddl_transaction! - - def up - add_concurrent_index :merge_requests, [:target_project_id, :created_at, :id], name: :index_merge_requests_on_target_project_id_and_created_at_and_id - end - - def down - remove_concurrent_index :merge_requests, [:target_project_id, :created_at, :id], name: :index_merge_requests_on_target_project_id_and_created_at_and_id - end -end |