mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Updates Prisma Scheme
This commit is contained in:
7
prisma/migrations/20250412135831_settings/migration.sql
Normal file
7
prisma/migrations/20250412135831_settings/migration.sql
Normal 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")
|
||||
);
|
||||
2
prisma/migrations/20250412141334_online/migration.sql
Normal file
2
prisma/migrations/20250412141334_online/migration.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "application" ADD COLUMN "online" BOOLEAN NOT NULL DEFAULT true;
|
||||
@@ -23,6 +23,7 @@ model application {
|
||||
publicURL String
|
||||
localURL String?
|
||||
createdAt DateTime @default(now())
|
||||
online Boolean @default(true)
|
||||
}
|
||||
|
||||
model server {
|
||||
|
||||
Reference in New Issue
Block a user