mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
add gpuUsage and temp fields to server and server_history models in schema.prisma
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "server" ADD COLUMN "gpuUsage" TEXT,
|
||||
ADD COLUMN "temp" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "server_history" ADD COLUMN "gpuUsage" TEXT,
|
||||
ADD COLUMN "temp" TEXT;
|
||||
@@ -40,6 +40,8 @@ model server_history {
|
||||
cpuUsage String?
|
||||
ramUsage String?
|
||||
diskUsage String?
|
||||
gpuUsage String?
|
||||
temp String?
|
||||
createdAt DateTime @default(now())
|
||||
}
|
||||
|
||||
@@ -63,6 +65,8 @@ model server {
|
||||
diskUsage String?
|
||||
online Boolean @default(true)
|
||||
uptime String?
|
||||
gpuUsage String?
|
||||
temp String?
|
||||
}
|
||||
|
||||
model settings {
|
||||
|
||||
Reference in New Issue
Block a user