mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
server_history model
This commit is contained in:
@@ -32,6 +32,16 @@ model uptime_history {
|
||||
createdAt DateTime @default(now())
|
||||
}
|
||||
|
||||
model server_history {
|
||||
id Int @id @default(autoincrement())
|
||||
serverId Int @default(1)
|
||||
online Boolean @default(true)
|
||||
cpuUsage String?
|
||||
ramUsage String?
|
||||
diskUsage String?
|
||||
createdAt DateTime @default(now())
|
||||
}
|
||||
|
||||
model server {
|
||||
id Int @id @default(autoincrement())
|
||||
host Boolean @default(false)
|
||||
|
||||
Reference in New Issue
Block a user