discourse/db/migrate/20120809201855_migrate_bookmarks_to_post_actions.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
264 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class MigrateBookmarksToPostActions < ActiveRecord::Migration[4.2]
2013-02-06 03:16:51 +08:00
def up
drop_table "bookmarks"
end
def down
# I can reverse this, but not really worth the work
raise ActiveRecord::IrreversibleMigration
2013-02-06 03:16:51 +08:00
end
end