mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Separate device logs
This commit is contained in:
@@ -154,6 +154,7 @@ dbapi.saveDeviceInitialState = function(serial, device) {
|
||||
, remoteConnect: false
|
||||
, remoteConnectUrl: null
|
||||
, usage: null
|
||||
, logs_enabled: false
|
||||
}
|
||||
return db.run(r.table('devices').get(serial).update(data))
|
||||
.then(function(stats) {
|
||||
@@ -224,6 +225,7 @@ dbapi.unsetDeviceUsage = function(serial) {
|
||||
return db.run(r.table('devices').get(serial).update({
|
||||
usage: null
|
||||
, usageChangedAt: r.now()
|
||||
, logs_enabled: false
|
||||
}))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user