discourse/db/migrate/20120809030647_remove_forum_id.rb

11 lines
204 B
Ruby
Raw Normal View History

class RemoveForumId < ActiveRecord::Migration[4.2]
2013-02-06 03:16:51 +08:00
def up
remove_column 'forum_threads', 'forum_id'
remove_column 'categories', 'forum_id'
end
def down
raise 'not reversible'
end
end