discourse/db/migrate/20120809030647_remove_forum...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
235 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
class RemoveForumId < ActiveRecord::Migration[4.2]
2013-02-05 14:16:51 -05:00
def up
remove_column "forum_threads", "forum_id"
remove_column "categories", "forum_id"
end
def down
raise "not reversible"
end
end