Add monitoring fields and online status to server model in Prisma schema

This commit is contained in:
headlessdev
2025-04-19 21:47:00 +02:00
parent 6c8d4c6ec1
commit a3d1814343
2 changed files with 13 additions and 0 deletions

View File

@@ -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;