diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-05 14:54:39 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-06-05 14:54:39 +0200 |
commit | faeb2f3a09d18a0041a6c425a60f26ed9a41498a (patch) | |
tree | 73eac49601d391d8941895cdb102d5d2894c0469 /db | |
parent | 7a2ad70f0b143e3fd195e6e5c475a7b7350c527c (diff) | |
download | gitlab-ce-faeb2f3a09d18a0041a6c425a60f26ed9a41498a.tar.gz |
Remove stage index concurrently on migration rollback
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20170526185748_create_index_in_pipeline_stages.rb | 2 |
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 |