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