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

  def down
    remove_column :boards, :parent_id
  end
end