X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9fee045acc2f5e3befd11ef93e26e37f9fd0c2a..25792ba304a7de2fe45a6a320bc97a6b47185535:/db/migrate/022_key_constraints.rb diff --git a/db/migrate/022_key_constraints.rb b/db/migrate/022_key_constraints.rb index 46e7ae662..f94c965bb 100644 --- a/db/migrate/022_key_constraints.rb +++ b/db/migrate/022_key_constraints.rb @@ -1,4 +1,4 @@ -require 'lib/migrate' +require 'migrate' class KeyConstraints < ActiveRecord::Migration def self.up @@ -47,6 +47,6 @@ class KeyConstraints < ActiveRecord::Migration end def self.down - raise IrreversibleMigration.new + raise ActiveRecord::IrreversibleMigration end end