Commit cc1e2a2b authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix typo in build stages reference migration

parent d5646068
...@@ -6,7 +6,7 @@ class MigrateBuildStageReference < ActiveRecord::Migration ...@@ -6,7 +6,7 @@ class MigrateBuildStageReference < ActiveRecord::Migration
def up def up
disable_statement_timeout disable_statement_timeout
stage_id = Arel.sql(<<-SQL.strip_heredoc stage_id = Arel.sql <<-SQL.strip_heredoc
(SELECT id FROM ci_stages (SELECT id FROM ci_stages
WHERE ci_stages.pipeline_id = ci_builds.commit_id WHERE ci_stages.pipeline_id = ci_builds.commit_id
AND ci_stages.name = ci_builds.stage) AND ci_stages.name = ci_builds.stage)
......
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