To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / db / migrate / 20120731164049_add_boards_parent_id.rb @ 1298:4f746d8966dd

History | View | Annotate | Download (170 Bytes)

1
class AddBoardsParentId < ActiveRecord::Migration
2
  def up
3
    add_column :boards, :parent_id, :integer
4
  end
5

    
6
  def down
7
    remove_column :boards, :parent_id
8
  end
9
end