Mercurial > hg > soundsoftware-site
view db/migrate/20120731164049_add_boards_parent_id.rb @ 1551:36dddb6755f6 feature_1136
Need -f in case no authormaps exist yet
author | Chris Cannam |
---|---|
date | Tue, 12 Jan 2016 17:55:48 +0000 |
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