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/post_migrate/20220316112206_add_contacts_index_on_group_email_and_id.rb')
-rw-r--r--db/post_migrate/20220316112206_add_contacts_index_on_group_email_and_id.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/db/post_migrate/20220316112206_add_contacts_index_on_group_email_and_id.rb b/db/post_migrate/20220316112206_add_contacts_index_on_group_email_and_id.rb
deleted file mode 100644
index 21434a80314..00000000000
--- a/db/post_migrate/20220316112206_add_contacts_index_on_group_email_and_id.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# frozen_string_literal: true
-
-class AddContactsIndexOnGroupEmailAndId < Gitlab::Database::Migration[1.0]
- disable_ddl_transaction!
-
- INDEX_NAME = 'index_customer_relations_contacts_on_unique_email_per_group'
-
- def up
- add_concurrent_index :customer_relations_contacts, 'group_id, lower(email), id', name: INDEX_NAME, unique: true
- end
-
- def down
- remove_concurrent_index_by_name :customer_relations_contacts, INDEX_NAME
- end
-end