socialforge/db/migrate/104_add_projects_lft_and_rg...

12 lines
250 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
class AddProjectsLftAndRgt < ActiveRecord::Migration
def self.up
add_column :projects, :lft, :integer
add_column :projects, :rgt, :integer
end
def self.down
remove_column :projects, :lft
remove_column :projects, :rgt
end
end