+require 'migrate'
+
class MoveToInnodb < ActiveRecord::Migration
@@conv_tables = ['nodes', 'ways', 'way_tags', 'way_nodes',
'current_way_tags', 'relation_members',
}
@@conv_tables.each { |tbl|
- change_engine (tbl, "InnoDB")
+ change_engine tbl, "InnoDB"
}
@@ver_tbl.each { |tbl|
end
def self.down
- raise IrreversibleMigration.new
+ raise ActiveRecord::IrreversibleMigration
end
end