20120731164049_add_boards_parent_id.rb
9 lines
| 170 B
| text/x-ruby
|
RubyLexer
|
r9959 | class AddBoardsParentId < ActiveRecord::Migration | ||
def up | ||||
add_column :boards, :parent_id, :integer | ||||
end | ||||
def down | ||||
remove_column :boards, :parent_id | ||||
end | ||||
end | ||||