X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0d5be22cb517ebaaab5eb7af13150bf61e41df56..1c5db113e215892ecff6090c571ffa1c4b9737db:/db/migrate/021_move_to_innodb.rb?ds=sidebyside diff --git a/db/migrate/021_move_to_innodb.rb b/db/migrate/021_move_to_innodb.rb index 8312dec2c..f9110cca6 100644 --- a/db/migrate/021_move_to_innodb.rb +++ b/db/migrate/021_move_to_innodb.rb @@ -1,4 +1,4 @@ -require 'lib/migrate' +require 'migrate' class MoveToInnodb < ActiveRecord::Migration @@conv_tables = ['nodes', 'ways', 'way_tags', 'way_nodes', @@ -16,7 +16,7 @@ class MoveToInnodb < ActiveRecord::Migration } @@conv_tables.each { |tbl| - change_engine (tbl, "InnoDB") + change_engine tbl, "InnoDB" } @@ver_tbl.each { |tbl| @@ -42,6 +42,6 @@ class MoveToInnodb < ActiveRecord::Migration end def self.down - raise IrreversibleMigration.new + raise ActiveRecord::IrreversibleMigration end end