view db/migrate/106_remove_projects_projects_count.rb @ 177:dc01516c819d feature_55

added nobr tags to the institution fields in order to prevent line breaks.
author luisf
date Wed, 02 Feb 2011 16:29:10 +0000
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