Added table jobs and table devices
This commit is contained in:
11
db/migrate/20211019152106_create_jobs.rb
Normal file
11
db/migrate/20211019152106_create_jobs.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateJobs < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :jobs do |t|
|
||||
t.primary_key :job_id
|
||||
t.json :params
|
||||
t.string :type
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user