summaryrefslogtreecommitdiff
path: root/src/db.rs
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2023-11-17 11:19:43 +0100
committerGitHub <[email protected]>2023-11-17 11:19:43 +0100
commitda6367885d31698464e1bec122e3e673974427c6 (patch)
treeb7ee38cc5a247151d99f0fbb75a529e5b07718e9 /src/db.rs
parent4f124e6ba636e6191c2960d96d0057f3061988fc (diff)
parent075b0bdc47713e303f9954556fa4b4bb472b441a (diff)
downloadwebol-da6367885d31698464e1bec122e3e673974427c6.tar
webol-da6367885d31698464e1bec122e3e673974427c6.tar.gz
webol-da6367885d31698464e1bec122e3e673974427c6.zip
Merge pull request #8 from FxQnLr/eta
Eta
Diffstat (limited to 'src/db.rs')
-rw-r--r--src/db.rs3
1 files changed, 2 insertions, 1 deletions
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 {
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
19pub async fn init_db_pool() -> PgPool { 20pub async fn init_db_pool() -> PgPool {