From a197f4721d3b6e79c73f16c8db69ae9f3154acec Mon Sep 17 00:00:00 2001 From: FxQnLr Date: Wed, 8 Nov 2023 12:44:17 +0100 Subject: add eta with average startup time --- src/db.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/db.rs') diff --git a/src/db.rs b/src/db.rs index c012b47..8a6b16e 100644 --- a/src/db.rs +++ b/src/db.rs @@ -13,7 +13,8 @@ pub struct Device { pub id: String, pub mac: String, pub broadcast_addr: String, - pub ip: String + pub ip: String, + pub times: Option> } pub async fn init_db_pool() -> PgPool { -- cgit v1.2.3