More stuff, lost a lot of progress to this shitty pc with a shitty os

This commit is contained in:
2026-08-20 16:22:35 +03:00
parent c7d2af0fd0
commit 3c904db36f
11 changed files with 319 additions and 15 deletions

23
src/db/schema.rs Normal file
View File

@@ -0,0 +1,23 @@
// @generated automatically by Diesel CLI.
diesel::table! {
antennas (id) {
id -> Int8,
name -> Text,
ip -> Text,
error -> Nullable<Text>,
}
}
diesel::table! {
client_readings (id) {
id -> Int8,
ip -> Text,
mac -> Text,
antenna_ip -> Text,
db_reading -> Int4,
read_at -> Timestamp,
}
}
diesel::allow_tables_to_appear_in_same_query!(antennas, client_readings,);