Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20170216135621_add_index_for_latest_successful_pipeline.rb')
-rw-r--r--db/migrate/20170216135621_add_index_for_latest_successful_pipeline.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/db/migrate/20170216135621_add_index_for_latest_successful_pipeline.rb b/db/migrate/20170216135621_add_index_for_latest_successful_pipeline.rb
deleted file mode 100644
index be393bd496d..00000000000
--- a/db/migrate/20170216135621_add_index_for_latest_successful_pipeline.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-# rubocop:disable RemoveIndex
-class AddIndexForLatestSuccessfulPipeline < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_concurrent_index(:ci_commits, [:gl_project_id, :ref, :status])
- end
-
- def down
- remove_index :ci_commits, [:gl_project_id, :ref, :status] if index_exists? :ci_commits, [:gl_project_id, :ref, :status]
- end
-end