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 / 104_add_projects_lft_and_rgt.rb @ 442:753f1380d6bc

History | View | Annotate | Download (250 Bytes)

1
class AddProjectsLftAndRgt < ActiveRecord::Migration
2
  def self.up
3
    add_column :projects, :lft, :integer
4
    add_column :projects, :rgt, :integer
5
  end
6

    
7
  def self.down
8
    remove_column :projects, :lft
9
    remove_column :projects, :rgt
10
  end
11
end