Mercurial > hg > soundsoftware-site
view db/migrate/20120731164049_add_boards_parent_id.rb @ 1624:76f8f0814e1e live
Use --check to avoid errors when updating in repos with more than one head
author | Chris Cannam |
---|---|
date | Fri, 10 Aug 2018 16:08:05 +0100 |
parents | 433d4f72a19b |
children |
line wrap: on
line source
class AddBoardsParentId < ActiveRecord::Migration def up add_column :boards, :parent_id, :integer end def down remove_column :boards, :parent_id end end