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/20201128210000_add_service_desk_reply_to_is_not_null_index_on_issues_fix.rb')
-rw-r--r--db/migrate/20201128210000_add_service_desk_reply_to_is_not_null_index_on_issues_fix.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20201128210000_add_service_desk_reply_to_is_not_null_index_on_issues_fix.rb b/db/migrate/20201128210000_add_service_desk_reply_to_is_not_null_index_on_issues_fix.rb
deleted file mode 100644
index 52d24de60d5..00000000000
--- a/db/migrate/20201128210000_add_service_desk_reply_to_is_not_null_index_on_issues_fix.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddServiceDeskReplyToIsNotNullIndexOnIssuesFix < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
- INDEX_NAME = 'idx_on_issues_where_service_desk_reply_to_is_not_null'
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index(:issues, [:id], name: INDEX_NAME, where: 'service_desk_reply_to IS NOT NULL')
- end
-
- def down
- remove_concurrent_index_by_name(:issues, INDEX_NAME)
- end
-end