Commit 9b73f14d authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix indentation in migration removing duplicated stages

parent 50e98241
...@@ -4,7 +4,7 @@ class RemoveRedundantPipelineStages < ActiveRecord::Migration ...@@ -4,7 +4,7 @@ class RemoveRedundantPipelineStages < ActiveRecord::Migration
DOWNTIME = false DOWNTIME = false
def up def up
redundant_stages_ids = <<~SQL redundant_stages_ids = <<~SQL
SELECT id FROM ci_stages WHERE (pipeline_id, name) IN ( SELECT id FROM ci_stages WHERE (pipeline_id, name) IN (
SELECT pipeline_id, name FROM ci_stages SELECT pipeline_id, name FROM ci_stages
GROUP BY pipeline_id, name HAVING COUNT(*) > 1 GROUP BY pipeline_id, name HAVING COUNT(*) > 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment