Added device_jobs table

This commit is contained in:
2021-10-22 17:37:32 +02:00
parent 842a55be5f
commit f76b125f84
7 changed files with 121 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
class CreateDeviceJobs < ActiveRecord::Migration[6.1]
def change
create_table :device_jobs do |t|
t.integer :device_id
t.integer :jobs_id
t.string :status
t.timestamps
end
end
end