view db/migrate/20120731164049_add_boards_parent_id.rb @ 1621:3a510bf6a9bc

Merge from live branch
author Chris Cannam
date Fri, 13 Jul 2018 10:44:33 +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