view db/migrate/20101114115114_change_projects_name_limit.rb @ 527:af95d9a7507a feature_36

fixed wrong institution name retrieval for users with no ssamr_user_details
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Mon, 25 Jul 2011 14:57:48 +0100
parents 94944d00e43c
children
line wrap: on
line source
class ChangeProjectsNameLimit < ActiveRecord::Migration
  def self.up
    change_column :projects, :name, :string, :limit => nil, :default => '', :null => false
  end

  def self.down
    change_column :projects, :name, :string, :limit => 30, :default => '', :null => false
  end
end