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:
@@ -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?
|
||||
}
|
||||
Reference in New Issue
Block a user