summaryrefslogtreecommitdiff
path: root/db/migrate/20191111175230_add_index_on_ci_pipelines_updated_at.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20191111175230_add_index_on_ci_pipelines_updated_at.rb')
-rw-r--r--db/migrate/20191111175230_add_index_on_ci_pipelines_updated_at.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20191111175230_add_index_on_ci_pipelines_updated_at.rb b/db/migrate/20191111175230_add_index_on_ci_pipelines_updated_at.rb
deleted file mode 100644
index 566bb16ac65..00000000000
--- a/db/migrate/20191111175230_add_index_on_ci_pipelines_updated_at.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexOnCiPipelinesUpdatedAt < ActiveRecord::Migration[5.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
- INDEX_COLUMNS = [:project_id, :status, :updated_at]
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index(:ci_pipelines, INDEX_COLUMNS)
- end
-
- def down
- remove_concurrent_index(:ci_pipelines, INDEX_COLUMNS)
- end
-end