2018-02-26 10:20:38 -07:00
|
|
|
class CreateFarmwareInstallations < ActiveRecord::Migration[5.1]
|
2019-11-07 12:35:10 -07:00
|
|
|
|
2018-02-26 10:20:38 -07:00
|
|
|
def change
|
|
|
|
create_table :farmware_installations do |t|
|
|
|
|
t.references :device, foreign_key: true
|
|
|
|
t.string :url
|
|
|
|
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|