diff options
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,8 @@ pub struct Device { | |||
13 | pub id: String, | 13 | pub id: String, |
14 | pub mac: String, | 14 | pub mac: String, |
15 | pub broadcast_addr: String, | 15 | pub broadcast_addr: String, |
16 | pub ip: String | 16 | pub ip: String, |
17 | pub times: Option<Vec<i64>> | ||
17 | } | 18 | } |
18 | 19 | ||
19 | pub async fn init_db_pool() -> PgPool { | 20 | pub async fn init_db_pool() -> PgPool { |