diff options
Diffstat (limited to 'src/db.rs')
-rw-r--r-- | src/db.rs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ use crate::config::SETTINGS; | |||
12 | pub struct Device { | 12 | 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 | } | 17 | } |
17 | 18 | ||
18 | pub async fn init_db_pool() -> PgPool { | 19 | pub async fn init_db_pool() -> PgPool { |