summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-10 20:33:51 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-10 20:33:51 -0500
commit965b41769f878ba526f88761b06182e6a2e0f538 (patch)
treebfea44f20e9ea0bd60fed961e116ccdcaa5d13a4 /db
parent62c93ab91218daf176ccbfc1622a6f3c58f1ad82 (diff)
downloadgitlab-ce-965b41769f878ba526f88761b06182e6a2e0f538.tar.gz
Fix MySQL build failuredm-fix-mysql-failure
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20170502101023_cleanup_namespaceless_pending_delete_projects.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/post_migrate/20170502101023_cleanup_namespaceless_pending_delete_projects.rb b/db/post_migrate/20170502101023_cleanup_namespaceless_pending_delete_projects.rb
index 2d242da9ef8..ce52de91cdd 100644
--- a/db/post_migrate/20170502101023_cleanup_namespaceless_pending_delete_projects.rb
+++ b/db/post_migrate/20170502101023_cleanup_namespaceless_pending_delete_projects.rb
@@ -30,7 +30,7 @@ class CleanupNamespacelessPendingDeleteProjects < ActiveRecord::Migration
private
def pending_delete_batch
- connection.exec_query(find_batch).map{ |row| row['id'] }
+ connection.exec_query(find_batch).map{ |row| row['id'].to_i }
end
BATCH_SIZE = 5000