mirror of
https://github.com/crocofied/CoreControl.git
synced 2025-12-17 15:36:50 +00:00
Add uptimecheckUrl to application model and name to notification model
This commit is contained in:
parent
cba70d5aef
commit
70e28cb1c7
@ -0,0 +1,11 @@
|
||||
/*
|
||||
Warnings:
|
||||
|
||||
- Added the required column `name` to the `notification` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "application" ADD COLUMN "uptimecheckUrl" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "notification" ADD COLUMN "name" TEXT NOT NULL;
|
||||
@ -21,6 +21,7 @@ model application {
|
||||
icon String
|
||||
publicURL String
|
||||
localURL String?
|
||||
uptimecheckUrl String?
|
||||
createdAt DateTime @default(now())
|
||||
online Boolean @default(true)
|
||||
}
|
||||
@ -79,6 +80,7 @@ model user {
|
||||
|
||||
model notification {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
enabled Boolean @default(true)
|
||||
type String
|
||||
smtpHost String?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user