X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/c8ee1351049ef1bb4d7b50d071b2a96154266d1d..cea0cccc6d73d7543d80d659b0f221f0d3196c0e:/db/migrate/022_key_constraints.rb?ds=sidebyside diff --git a/db/migrate/022_key_constraints.rb b/db/migrate/022_key_constraints.rb index 40f98be02..f94c965bb 100644 --- a/db/migrate/022_key_constraints.rb +++ b/db/migrate/022_key_constraints.rb @@ -1,3 +1,5 @@ +require 'migrate' + class KeyConstraints < ActiveRecord::Migration def self.up # Primary keys @@ -45,6 +47,6 @@ class KeyConstraints < ActiveRecord::Migration end def self.down - raise IrreversibleMigration.new + raise ActiveRecord::IrreversibleMigration end end