discourse/db/migrate/20120809030647_remove_forum...

11 lines
199 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class RemoveForumId < ActiveRecord::Migration
def up
remove_column 'forum_threads', 'forum_id'
remove_column 'categories', 'forum_id'
end
def down
raise 'not reversible'
end
end