summaryrefslogtreecommitdiff
path: root/db/migrate/20200729202222_add_index_to_ci_pipeline_project_id_created_at.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20200729202222_add_index_to_ci_pipeline_project_id_created_at.rb')
-rw-r--r--db/migrate/20200729202222_add_index_to_ci_pipeline_project_id_created_at.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/db/migrate/20200729202222_add_index_to_ci_pipeline_project_id_created_at.rb b/db/migrate/20200729202222_add_index_to_ci_pipeline_project_id_created_at.rb
deleted file mode 100644
index d1ee9c49d30..00000000000
--- a/db/migrate/20200729202222_add_index_to_ci_pipeline_project_id_created_at.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-class AddIndexToCiPipelineProjectIdCreatedAt < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index :ci_pipelines, [:project_id, :created_at]
- end
-
- def down
- remove_concurrent_index :ci_pipelines, [:project_id, :created_at]
- end
-end