-require 'lib/migrate'
+require 'migrate'
class MoveToInnodb < ActiveRecord::Migration
@@conv_tables = ['nodes', 'ways', 'way_tags', 'way_nodes',
}
@@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