mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-29 16:14:43 +00:00
Prisma notification model
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
-- CreateTable
|
||||
CREATE TABLE "notification" (
|
||||
"id" SERIAL NOT NULL,
|
||||
"enabled" BOOLEAN NOT NULL DEFAULT true,
|
||||
"type" TEXT NOT NULL,
|
||||
"smtpHost" TEXT,
|
||||
"smtpPort" INTEGER,
|
||||
"smtpFrom" TEXT,
|
||||
"smtpUser" TEXT,
|
||||
"smtpPass" TEXT,
|
||||
"smtpSecure" BOOLEAN,
|
||||
"smtpTo" TEXT,
|
||||
"telegramChatId" TEXT,
|
||||
"telegramToken" TEXT,
|
||||
"discordWebhook" TEXT,
|
||||
|
||||
CONSTRAINT "notification_pkey" PRIMARY KEY ("id")
|
||||
);
|
||||
Reference in New Issue
Block a user