X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a0a6dd36190788b89c5d97f981b4e9b563eb385e..758e6da9a80e2e53a171ebc3119f813f8ff4141c:/db/migrate/030_add_foreign_keys.rb 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