Browse Source

TODOS and type field

active-analytic-unit-#66
Alexey Velikiy 2 years ago
parent
commit
d23af0482b
  1. 5
      server/src/services/analytic_unit_service.rs

5
server/src/services/analytic_unit_service.rs

@ -21,6 +21,8 @@ impl AnalyticUnitService {
id TEXT PRIMARY KEY,
last_detection INTEGER
active BOOLEAN
type INTEGER
config TEXT
)",
[],
)?;
@ -70,6 +72,7 @@ impl AnalyticUnitService {
}
pub fn get_active() {
// TODO: query by id
// TODO: deserialisation of analytic_unit by config and it's type
}
}
Loading…
Cancel
Save