Prisma notification model

This commit is contained in:
headlessdev
2025-04-17 13:07:19 +02:00
parent 7e82b42b29
commit 4b29f7cbed
2 changed files with 34 additions and 0 deletions

View File

@@ -53,4 +53,20 @@ model user {
id String @id @default(uuid())
email String @unique
password String
}
model notification {
id Int @id @default(autoincrement())
enabled Boolean @default(true)
type String
smtpHost String?
smtpPort Int?
smtpFrom String?
smtpUser String?
smtpPass String?
smtpSecure Boolean?
smtpTo String?
telegramChatId String?
telegramToken String?
discordWebhook String?
}