collab/db/migrate/20100305035342_add_archived...

10 lines
205 B
Ruby

class AddArchivedToProjects < ActiveRecord::Migration
def self.up
add_column :projects, :archived, :boolean, :default => false
end
def self.down
remove_column :projects, :archived
end
end