mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 03:43:42 +08:00
11 lines
228 B
Ruby
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::IrreversibleMigration
|
|
end
|
|
end
|