Files
lumi-re/backend/infrastructure/src/schema.rs
T
2026-07-13 21:57:58 +02:00

21 lines
439 B
Rust

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,
}
}