10 lines
238 B
Ruby
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
|