summaryrefslogtreecommitdiffstats
path: root/db/migrate/20120731164049_add_boards_parent_id.rb
blob: c9ce47f784a2a133e67326deec23b30f06289787 (plain)
1
2
3
4
5
6
7
8
9
class AddBoardsParentId < ActiveRecord::Migration
  def up
    add_column :boards, :parent_id, :integer
  end

  def down
    remove_column :boards, :parent_id
  end
end