bigdir/db/migrate/20101114115359_change_proje...

10 lines
238 B
Ruby

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