Project

General

Profile

Download (304 Bytes) Statistics
| Branch: | Tag: | Revision:
class AddSparcInfoToModel < ActiveRecord::Migration[4.2]
def up
add_column :models, :vendor_class, :string, :limit => 32
add_column :models, :hardware_model, :string, :limit => 16
end

def down
remove_column :models, :hardware_model
remove_column :models, :vendor_class
end
end
(79-79/408)