collab/db/migrate/20100305035342_add_archived_to_projects.rb

10 lines
205 B
Ruby
Raw Normal View History

2010-03-05 06:48:00 +00:00
class AddArchivedToProjects < ActiveRecord::Migration
def self.up
add_column :projects, :archived, :boolean, :default => false
end
def self.down
remove_column :projects, :archived
end
end