summaryrefslogtreecommitdiffstats
path: root/db/migrate/20101114115114_change_projects_name_limit.rb
blob: fabc3c9d831a79cd93c1011036f208babf690c42 (plain)
1
2
3
4
5
6
7
8
9
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