mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-26 21:58:45 +00:00
feat(notification): add 'ntfy' notification type and create associated table; update notification schema
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
ALTER TYPE "public"."notificationType" ADD VALUE 'ntfy';--> statement-breakpoint
|
||||||
|
CREATE TABLE "ntfy" (
|
||||||
|
"ntfyId" text PRIMARY KEY NOT NULL,
|
||||||
|
"serverUrl" text NOT NULL,
|
||||||
|
"topic" text NOT NULL,
|
||||||
|
"accessToken" text NOT NULL,
|
||||||
|
"priority" integer DEFAULT 3 NOT NULL,
|
||||||
|
"decoration" boolean
|
||||||
|
);
|
||||||
|
--> statement-breakpoint
|
||||||
|
ALTER TABLE "notification" ADD COLUMN "ntfyId" text;--> statement-breakpoint
|
||||||
|
ALTER TABLE "notification" ADD CONSTRAINT "notification_ntfyId_ntfy_ntfyId_fk" FOREIGN KEY ("ntfyId") REFERENCES "public"."ntfy"("ntfyId") ON DELETE cascade ON UPDATE no action;
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -750,6 +750,13 @@
|
|||||||
"when": 1754912062243,
|
"when": 1754912062243,
|
||||||
"tag": "0106_purple_maggott",
|
"tag": "0106_purple_maggott",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 107,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1756429785728,
|
||||||
|
"tag": "0107_bitter_starfox",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user