]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/021_move_to_innodb.rb
Fix ruby 1.9 syntax error caused by space before parens on method call
[rails.git] / db / migrate / 021_move_to_innodb.rb
index da0488ca5f7a3d6bb40f6ccc7717ceb34487096e..7b56b302ef00c99e4fccecee58e948cb95e542ec 100644 (file)
@@ -1,3 +1,5 @@
+require 'lib/migrate'
+
 class MoveToInnodb < ActiveRecord::Migration
   @@conv_tables = ['nodes', 'ways', 'way_tags', 'way_nodes',
     'current_way_tags', 'relation_members',
@@ -14,7 +16,7 @@ class MoveToInnodb < ActiveRecord::Migration
     }
 
     @@conv_tables.each { |tbl|
-      change_engine (tbl, "InnoDB")
+      change_engine tbl, "InnoDB"
     }
 
     @@ver_tbl.each { |tbl|