Updates Prisma Scheme

This commit is contained in:
headlessdev
2025-04-12 16:19:35 +02:00
parent 066bed7634
commit 2c29d3f16f
11 changed files with 1306 additions and 19 deletions

View File

@@ -0,0 +1,7 @@
-- CreateTable
CREATE TABLE "settings" (
"id" SERIAL NOT NULL,
"uptime_checks" BOOLEAN NOT NULL DEFAULT true,
CONSTRAINT "settings_pkey" PRIMARY KEY ("id")
);

View File

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

View File

@@ -23,6 +23,7 @@ model application {
publicURL String
localURL String?
createdAt DateTime @default(now())
online Boolean @default(true)
}
model server {