mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Uptime History DB Model
This commit is contained in:
@@ -25,6 +25,13 @@ model application {
|
||||
online Boolean @default(true)
|
||||
}
|
||||
|
||||
model uptime_history {
|
||||
id Int @id @default(autoincrement())
|
||||
applicationId Int @default(1)
|
||||
online Boolean @default(true)
|
||||
createdAt DateTime @default(now())
|
||||
}
|
||||
|
||||
model server {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
|
||||
Reference in New Issue
Block a user