Add uptime column to server model

This commit is contained in:
headlessdev 2025-04-26 15:13:00 +02:00
parent 58f70ad1d9
commit b08d5b0fef
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "application" ADD COLUMN "ignoreNotFoundErr" BOOLEAN NOT NULL DEFAULT false;

View File

@ -0,0 +1,11 @@
/*
Warnings:
- You are about to drop the column `ignoreNotFoundErr` on the `application` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "application" DROP COLUMN "ignoreNotFoundErr";
-- AlterTable
ALTER TABLE "server" ADD COLUMN "uptime" TEXT;

View File

@ -61,6 +61,7 @@ model server {
ramUsage String?
diskUsage String?
online Boolean @default(true)
uptime String?
}
model settings {