mirror of
https://github.com/discourse/discourse.git
synced 2024-11-28 19:53:53 -06:00
11 lines
204 B
Ruby
11 lines
204 B
Ruby
class RemoveForumId < ActiveRecord::Migration[4.2]
|
|
def up
|
|
remove_column 'forum_threads', 'forum_id'
|
|
remove_column 'categories', 'forum_id'
|
|
end
|
|
|
|
def down
|
|
raise 'not reversible'
|
|
end
|
|
end
|