Farmbot-Web-App/db/migrate/20180216205047_add_mode_to_...

7 lines
150 B
Ruby
Raw Normal View History

2018-02-16 14:16:33 -07:00
class AddModeToSensorReadingTable < ActiveRecord::Migration[5.1]
2019-11-07 12:35:10 -07:00
2018-02-16 14:16:33 -07:00
def change
add_column :sensor_readings, :mode, :integer, default: 0
end
end