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
path: root/db
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-05 15:54:39 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-05 15:54:39 +0300
commitfaeb2f3a09d18a0041a6c425a60f26ed9a41498a (patch)
tree73eac49601d391d8941895cdb102d5d2894c0469 /db
parent7a2ad70f0b143e3fd195e6e5c475a7b7350c527c (diff)
Remove stage index concurrently on migration rollback
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20170526185748_create_index_in_pipeline_stages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170526185748_create_index_in_pipeline_stages.rb b/db/post_migrate/20170526185748_create_index_in_pipeline_stages.rb
index d049f87578a..ec9ff33b6b7 100644
--- a/db/post_migrate/20170526185748_create_index_in_pipeline_stages.rb
+++ b/db/post_migrate/20170526185748_create_index_in_pipeline_stages.rb
@@ -10,6 +10,6 @@ class CreateIndexInPipelineStages < ActiveRecord::Migration
end
def down
- remove_index(:ci_stages, [:pipeline_id, :name])
+ remove_concurrent_index(:ci_stages, [:pipeline_id, :name])
end
end