class CreateDeviceTypes

Public Instance Methods

change() click to toggle source
# File db/migrate/20120328061052_create_device_types.rb, line 2
def change
  create_table :device_types do |t|
    t.string :name
    t.string :module_name
    t.string :data_type
    t.string :data_flow
    t.string :unit

    t.timestamps
  end
end