Add new fields for Gotify and ntfy integration in notification model

This commit is contained in:
headlessdev 2025-04-19 13:07:09 +02:00
parent 2a910c165e
commit 93bffa29cc
3 changed files with 24 additions and 0 deletions

15
package-lock.json generated
View File

@ -4657,6 +4657,21 @@
"optional": true
}
}
},
"node_modules/@next/swc-win32-x64-msvc": {
"version": "15.3.0",
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-15.3.0.tgz",
"integrity": "sha512-vHUQS4YVGJPmpjn7r5lEZuMhK5UQBNBRSB+iGDvJjaNk649pTIcRluDWNb9siunyLLiu/LDPHfvxBtNamyuLTw==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"win32"
],
"engines": {
"node": ">= 10"
}
}
}
}

View File

@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "notification" ADD COLUMN "gotifyToken" TEXT,
ADD COLUMN "gotifyUrl" TEXT,
ADD COLUMN "ntfyToken" TEXT,
ADD COLUMN "ntfyUrl" TEXT;

View File

@ -72,4 +72,8 @@ model notification {
telegramChatId String?
telegramToken String?
discordWebhook String?
gotifyUrl String?
gotifyToken String?
ntfyUrl String?
ntfyToken String?
}