feat: camera diagnostics (#1681)

This commit is contained in:
Rafael Taranto 2024-05-28 21:42:05 +01:00 committed by GitHub
parent 5ae9b76c3b
commit e1c2cc8619
13 changed files with 395 additions and 3 deletions

View file

@ -0,0 +1,15 @@
const db = require('./db')
exports.up = function (next) {
let sql = [
'alter table devices add column diagnostics_timestamp timestampz',
'alter table devices add column diagnostics_scan_updated_at timestampz',
'alter table devices add column diagnostics_front_updated_at timestampz'
]
db.multi(sql, next)
}
exports.down = function (next) {
next()
}