More stuff, lost a lot of progress to this shitty pc with a shitty os
This commit is contained in:
23
src/db/schema.rs
Normal file
23
src/db/schema.rs
Normal 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,);
|
||||
Reference in New Issue
Block a user