10 lines
220 B
Ruby
10 lines
220 B
Ruby
|
class ChangeVersionsNameLimit < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
change_column :versions, :name, :string, :limit => nil
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
change_column :versions, :name, :string, :limit => 30
|
||
|
end
|
||
|
end
|