X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9fee045acc2f5e3befd11ef93e26e37f9fd0c2a..109dcfff196708f94179ed4c621a2e6d405b7118:/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