X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a0a6dd36190788b89c5d97f981b4e9b563eb385e..67a03d44a171a05fc637e1b9ecfc8d3b7769dc85:/db/migrate/030_add_foreign_keys.rb?ds=sidebyside diff --git a/db/migrate/030_add_foreign_keys.rb b/db/migrate/030_add_foreign_keys.rb index 183aa30db..e3dc7e82d 100644 --- a/db/migrate/030_add_foreign_keys.rb +++ b/db/migrate/030_add_foreign_keys.rb @@ -1,3 +1,5 @@ +require 'migrate' + class AddForeignKeys < ActiveRecord::Migration def self.up add_foreign_key :changeset_tags, [:id], :changesets @@ -7,6 +9,6 @@ class AddForeignKeys < ActiveRecord::Migration end def self.down - raise IrreversibleMigration.new + raise ActiveRecord::IrreversibleMigration end end