diff --git a/server/src/services/analytic_unit_service.rs b/server/src/services/analytic_unit_service.rs index 786e38f..9e8caae 100644 --- a/server/src/services/analytic_unit_service.rs +++ b/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 } } \ No newline at end of file