Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210126092102_remove_index_services_project_id_and_type.rb')
-rw-r--r--db/migrate/20210126092102_remove_index_services_project_id_and_type.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/db/migrate/20210126092102_remove_index_services_project_id_and_type.rb b/db/migrate/20210126092102_remove_index_services_project_id_and_type.rb
deleted file mode 100644
index 49780d03b7b..00000000000
--- a/db/migrate/20210126092102_remove_index_services_project_id_and_type.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-# frozen_string_literal: true
-
-class RemoveIndexServicesProjectIdAndType < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- INDEX_NAME = 'index_services_on_project_id_and_type'
-
- # Replaced by the index added in 20210126091713_add_unique_index_services_project_id_and_type.rb
- def up
- remove_concurrent_index_by_name :services, name: INDEX_NAME
- end
-
- def down
- add_concurrent_index :services, [:project_id, :type], name: INDEX_NAME
- end
-end