summaryrefslogtreecommitdiff
path: root/db/post_migrate/20170503004427_update_retried_for_ci_build.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/post_migrate/20170503004427_update_retried_for_ci_build.rb')
-rw-r--r--db/post_migrate/20170503004427_update_retried_for_ci_build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170503004427_update_retried_for_ci_build.rb b/db/post_migrate/20170503004427_update_retried_for_ci_build.rb
index 705e11ed47d..3a4d6c4916b 100644
--- a/db/post_migrate/20170503004427_update_retried_for_ci_build.rb
+++ b/db/post_migrate/20170503004427_update_retried_for_ci_build.rb
@@ -21,7 +21,7 @@ class UpdateRetriedForCiBuild < ActiveRecord::Migration
private
def up_mysql
- # This is a trick to overcome MySQL limitation:
+ # This is a trick to overcome MySQL limitation:
# Mysql2::Error: Table 'ci_builds' is specified twice, both as a target for 'UPDATE' and as a separate source for data
# However, this leads to create a temporary table from `max(ci_builds.id)` which is slow and do full database update
execute <<-SQL.strip_heredoc