Fix typo in build stages reference migration

This commit is contained in:
Grzegorz Bizon 2017-06-06 13:36:56 +02:00
parent d564606820
commit cc1e2a2bef

View file

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