view db/migrate/106_remove_projects_projects_count.rb @ 382:baff1c482d98 feature_113

First cut at making frames optional in mtree output
author Chris Cannam
date Mon, 04 Apr 2011 10:48:08 +0100
parents 513646585e45
children
line wrap: on
line source
class RemoveProjectsProjectsCount < ActiveRecord::Migration
  def self.up
    remove_column :projects, :projects_count
  end

  def self.down
    add_column :projects, :projects_count, :integer, :default => 0
  end
end