diff options
Diffstat (limited to 'db/post_migrate/20220621192541_add_project_id_state_severity_default_branch_index_for_vulnerabilities.rb')
-rw-r--r-- | db/post_migrate/20220621192541_add_project_id_state_severity_default_branch_index_for_vulnerabilities.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/db/post_migrate/20220621192541_add_project_id_state_severity_default_branch_index_for_vulnerabilities.rb b/db/post_migrate/20220621192541_add_project_id_state_severity_default_branch_index_for_vulnerabilities.rb deleted file mode 100644 index 76753cdd737..00000000000 --- a/db/post_migrate/20220621192541_add_project_id_state_severity_default_branch_index_for_vulnerabilities.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -class AddProjectIdStateSeverityDefaultBranchIndexForVulnerabilities < Gitlab::Database::Migration[2.0] - disable_ddl_transaction! - - INDEX_NAME = 'index_vulnerabilities_project_id_state_severity_default_branch' - - def up - add_concurrent_index :vulnerabilities, [:project_id, :state, :severity, :present_on_default_branch], - name: INDEX_NAME - end - - def down - remove_concurrent_index_by_name :vulnerabilities, INDEX_NAME - end -end |