20101114115359_change_projects_identifier_limit.rb
9 lines
| 238 B
| text/x-ruby
|
RubyLexer
|
r4288 | 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 | ||||