class IncreaseDbFieldSizes < ActiveRecord::Migration
  def self.up
    change_column :events, :description, :text
    change_column :events, :summary, :string, :limit => 1024
  end

  def self.down
    change_column :events, :description, :string, :limit =>  500   
    change_column :events, :summary, :string, :limit => 100
  end
end

Fix for OLIO-57: Increased size of description and summary to increase database size
Fix for OLIO-57: Increased size of description and summary to increase database size

git-svn-id: 9e8631a84d97bf96d7d440e76c2e3d95216d1dc3@749436 13f79535-47bb-0310-9956-ffa450edef68
