trustieforge/db/migrate/20120731164049_add_boards_p...

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