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