Initial commit.

This commit is contained in:
Florian THIERRY
2026-07-13 21:57:58 +02:00
commit b5a95b0fa3
49 changed files with 11243 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
use diesel::prelude::*;
// Define the user table structure matching the current SQL schema
table! {
user (id) {
id -> Text,
username -> Varchar,
encrypted_password -> Varchar,
}
}
// Add system_resources table definition
table! {
system_resources (id) {
id -> Text,
datetime -> Integer,
cpu_usage -> Float,
total_memory -> BigInt,
used_memory -> BigInt,
}
}