mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-01 15:59:24 +08:00
12 lines
235 B
Ruby
12 lines
235 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|