view db/migrate/20101114115359_change_projects_identifier_limit.rb @ 254:0c9da2b87ad6 feature_80

Naively display download "active" status in downloads page, and allow sorting by it
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 03 Mar 2011 18:31:22 +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