mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-18 07:56:57 +00:00
Add monitoring fields and online status to server model in Prisma schema
This commit is contained in:
parent
6c8d4c6ec1
commit
a3d1814343
@ -0,0 +1,7 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "server" ADD COLUMN "cpuUsage" TEXT,
|
||||
ADD COLUMN "diskUsage" TEXT,
|
||||
ADD COLUMN "monitoring" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "monitoringURL" TEXT,
|
||||
ADD COLUMN "online" BOOLEAN NOT NULL DEFAULT true,
|
||||
ADD COLUMN "ramUsage" TEXT;
|
||||
@ -45,6 +45,12 @@ model server {
|
||||
gpu String?
|
||||
ram String?
|
||||
disk String?
|
||||
monitoring Boolean @default(false)
|
||||
monitoringURL String?
|
||||
cpuUsage String?
|
||||
ramUsage String?
|
||||
diskUsage String?
|
||||
online Boolean @default(true)
|
||||
}
|
||||
|
||||
model settings {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user