socialforge/db/migrate/104_add_projects_lft_and_rg...

12 lines
250 B
Ruby

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