view db/migrate/.svn/text-base/20101114115359_change_projects_identifier_limit.rb.svn-base @ 49:158a59127bbe luisf

The tip of the day only appears to logged in users.
author luisf
date Tue, 23 Nov 2010 14:57:07 +0000
parents 94944d00e43c
children
line wrap: on
line source
class ChangeProjectsIdentifierLimit < ActiveRecord::Migration
  def self.up
    change_column :projects, :identifier, :string, :limit => nil
  end

  def self.down
    change_column :projects, :identifier, :string, :limit => 20
  end
end