mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 18:50:53 +08:00
11 lines
199 B
Ruby
11 lines
199 B
Ruby
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
|