discourse/db/migrate/20120809201855_migrate_bookmarks_to_post_actions.rb
Chris Schetter 32ff6c264a Working out outdated migrations
Several migrations were failing when running db:migrate at the initial release version from an empty database.
These changes took out statements that were causing migrations to fail, usually because of references to models that no longer exist.
2013-02-05 21:33:26 -08:00

11 lines
228 B
Ruby

class MigrateBookmarksToPostActions < ActiveRecord::Migration
def up
drop_table "bookmarks"
end
def down
# I can reverse this, but not really worth the work
raise ActiveRecord::IrriversableMigration
end
end