socialforge/db/migrate/090_change_versions_name_li...

10 lines
220 B
Ruby
Raw Normal View History

2013-08-01 10:33:49 +08:00
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