X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cd2ca12d4235473cd3611b84e2a61649c17da2f6..34e3e51456774127d43408b7ab65c24f41373f62:/db/migrate/021_move_to_innodb.rb diff --git a/db/migrate/021_move_to_innodb.rb b/db/migrate/021_move_to_innodb.rb index 030515a98..aeb84028e 100644 --- a/db/migrate/021_move_to_innodb.rb +++ b/db/migrate/021_move_to_innodb.rb @@ -17,8 +17,8 @@ class MoveToInnodb < ActiveRecord::Migration @@ver_tbl.each { |tbl| add_column "current_#{tbl}", "version", :bigint, :null => false - # As the initial version of all nodes, ways and relations is 0, we set the - # current version to something less so that we can update the version in + # As the initial version of all nodes, ways and relations is 0, we set the + # current version to something less so that we can update the version in # batches of 10000 tbl.classify.constantize.update_all("version=-1") while tbl.classify.constantize.count(:conditions => {:version => -1}) > 0