summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-06 13:36:56 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-06-06 13:36:56 +0200
commitcc1e2a2bef324fe5869393e04be2feed22576667 (patch)
treec7359b50e20bfffaa89011567e051917d013e2f5 /db
parentd56460682061b38557ef107b72358c76dee7509f (diff)
downloadgitlab-ce-cc1e2a2bef324fe5869393e04be2feed22576667.tar.gz
Fix typo in build stages reference migration
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20170526185921_migrate_build_stage_reference.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170526185921_migrate_build_stage_reference.rb b/db/post_migrate/20170526185921_migrate_build_stage_reference.rb
index aa50b72839d..797e106cae4 100644
--- a/db/post_migrate/20170526185921_migrate_build_stage_reference.rb
+++ b/db/post_migrate/20170526185921_migrate_build_stage_reference.rb
@@ -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)