view db/migrate/20101114115359_change_projects_identifier_limit.rb @ 87:6cdfe738a02d cannam

Restore luisf changes to locales file (lost in confusion because I had somehow ended up changing every line with Windows line endings)
author Chris Cannam
date Thu, 16 Dec 2010 10:22:51 +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