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>2018-01-25 16:18:41 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2018-01-25 16:18:41 +0300
commit9b73f14d07233af78512a93f9b8eadd696cd6fd1 (patch)
tree1932122f81ee0018ed09c56633f04663cbc310bd /db
parent50e9824115bbefeb59319b4f20622b162c22063f (diff)
Fix indentation in migration removing duplicated stages
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20180119121225_remove_redundant_pipeline_stages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20180119121225_remove_redundant_pipeline_stages.rb b/db/post_migrate/20180119121225_remove_redundant_pipeline_stages.rb
index ce38026e7e2..89ed422ea1c 100644
--- a/db/post_migrate/20180119121225_remove_redundant_pipeline_stages.rb
+++ b/db/post_migrate/20180119121225_remove_redundant_pipeline_stages.rb
@@ -4,7 +4,7 @@ class RemoveRedundantPipelineStages < ActiveRecord::Migration
DOWNTIME = false
def up
- redundant_stages_ids = <<~SQL
+ redundant_stages_ids = <<~SQL
SELECT id FROM ci_stages WHERE (pipeline_id, name) IN (
SELECT pipeline_id, name FROM ci_stages
GROUP BY pipeline_id, name HAVING COUNT(*) > 1