diff options
Diffstat (limited to 'db/migrate/20200331113728_add_index_to_ci_ref_id.rb')
-rw-r--r-- | db/migrate/20200331113728_add_index_to_ci_ref_id.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20200331113728_add_index_to_ci_ref_id.rb b/db/migrate/20200331113728_add_index_to_ci_ref_id.rb deleted file mode 100644 index d3495fd4fa1..00000000000 --- a/db/migrate/20200331113728_add_index_to_ci_ref_id.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -class AddIndexToCiRefId < ActiveRecord::Migration[6.0] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - disable_ddl_transaction! - - def up - add_concurrent_index :ci_pipelines, [:ci_ref_id], where: 'ci_ref_id IS NOT NULL' - end - - def down - remove_concurrent_index :ci_pipelines, [:ci_ref_id], where: 'ci_ref_id IS NOT NULL' - end -end |