Mercurial > hg > soundsoftware-site
view db/migrate/20120731164049_add_boards_parent_id.rb @ 1125:7d772d053cff redmine-2.2-integration
Fixed if/else statement syntax error.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 08 Jan 2013 16:24:42 +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