Mercurial > hg > soundsoftware-site
view db/migrate/.svn/text-base/104_add_projects_lft_and_rgt.rb.svn-base @ 120:cd2282d2aa55 cannam
Merge from the default branch. Note that this is not a valid SVN repository any more (use default, redmine-1.1 etc for SVN updates).
author | Chris Cannam |
---|---|
date | Thu, 13 Jan 2011 14:33:08 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
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