diff options
Diffstat (limited to 'db/migrate/20210820171834_add_foreign_keys_for_pending_issue_escalations.rb')
-rw-r--r-- | db/migrate/20210820171834_add_foreign_keys_for_pending_issue_escalations.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/db/migrate/20210820171834_add_foreign_keys_for_pending_issue_escalations.rb b/db/migrate/20210820171834_add_foreign_keys_for_pending_issue_escalations.rb deleted file mode 100644 index 9d5322de498..00000000000 --- a/db/migrate/20210820171834_add_foreign_keys_for_pending_issue_escalations.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -class AddForeignKeysForPendingIssueEscalations < ActiveRecord::Migration[6.1] - include Gitlab::Database::PartitioningMigrationHelpers - - disable_ddl_transaction! - - def up - add_concurrent_partitioned_foreign_key :incident_management_pending_issue_escalations, - :incident_management_escalation_rules, - column: :rule_id - - add_concurrent_partitioned_foreign_key :incident_management_pending_issue_escalations, - :issues, - column: :issue_id - end - - def down - remove_foreign_key_if_exists :incident_management_pending_issue_escalations, :incident_management_escalation_rules, column: :rule_id - remove_foreign_key_if_exists :incident_management_pending_issue_escalations, :issues, column: :issue_id - end -end |