redmine/db/migrate/20120731164049_add_boards_parent_id.rb
Jean-Philippe Lang bc153cb61d Support for subforums (#3831).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-31 17:17:52 +00:00

10 lines
170 B
Ruby

class AddBoardsParentId < ActiveRecord::Migration
def up
add_column :boards, :parent_id, :integer
end
def down
remove_column :boards, :parent_id
end
end