diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-11 04:33:51 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-11 04:33:51 +0300 |
commit | 965b41769f878ba526f88761b06182e6a2e0f538 (patch) | |
tree | bfea44f20e9ea0bd60fed961e116ccdcaa5d13a4 /db/post_migrate | |
parent | 62c93ab91218daf176ccbfc1622a6f3c58f1ad82 (diff) |
Fix MySQL build failure
Diffstat (limited to 'db/post_migrate')
-rw-r--r-- | db/post_migrate/20170502101023_cleanup_namespaceless_pending_delete_projects.rb | 2 |
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 |