X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bed9cd00ed166ce346da4b8a9b654ddf86e64e70..76559d3de23b3af28b6d2014d12ed48d0cfc74cd:/db/migrate/023_add_changesets.rb diff --git a/db/migrate/023_add_changesets.rb b/db/migrate/023_add_changesets.rb index e0cf3904a..5bee21512 100644 --- a/db/migrate/023_add_changesets.rb +++ b/db/migrate/023_add_changesets.rb @@ -1,3 +1,5 @@ +require 'migrate' + class AddChangesets < ActiveRecord::Migration @@conv_user_tables = ['current_nodes', 'current_relations', 'current_ways', 'nodes', 'relations', 'ways' ] @@ -39,7 +41,7 @@ class AddChangesets < ActiveRecord::Migration def self.down # It's not easy to generate the user ids from the changesets - raise IrreversibleMigration.new + raise ActiveRecord::IrreversibleMigration #drop_table "changesets" #drop_table "changeset_tags" end