12 lines
217 B
Ruby
12 lines
217 B
Ruby
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
|