mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
10 lines
199 B
Ruby
10 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
|