Class: AddSerialNumberToDevices
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddSerialNumberToDevices
- Defined in:
- lib/device_tracker/db/migrate/20151102141601_add_serial_number_to_devices.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 |
# File 'lib/device_tracker/db/migrate/20151102141601_add_serial_number_to_devices.rb', line 2 def change change_table :devices do |t| t.string :serial_number end end |