Mercurial > hg > soundsoftware-site
view db/migrate/051_add_project_status.rb @ 113:cede720e8f53 live
* Move tip of the day to the right column (now there is more in the left one)
author | Chris Cannam |
---|---|
date | Mon, 20 Dec 2010 22:15:06 +0000 |
parents | 513646585e45 |
children |
line wrap: on
line source
class AddProjectStatus < ActiveRecord::Migration def self.up add_column :projects, :status, :integer, :default => 1, :null => false end def self.down remove_column :projects, :status end end