Added table jobs and table devices
This commit is contained in:
10
db/migrate/20211019152158_create_devices.rb
Normal file
10
db/migrate/20211019152158_create_devices.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateDevices < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table :devices do |t|
|
||||
t.primary_key :id
|
||||
t.string :device_id
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user