mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-24 00:25:27 +02:00
- Introduced support for Microsoft Teams notifications, including the ability to create, update, and test connections for Teams notifications. - Updated the notification schema to include Teams as a notification type. - Added Teams icon and UI components for handling Teams notifications in the dashboard. - Implemented backend logic for creating and updating Teams notifications, along with necessary database schema changes. - Enhanced existing notification functionalities to support Teams notifications across various events (e.g., build success, failure, database backups).
8 lines
460 B
SQL
8 lines
460 B
SQL
ALTER TYPE "public"."notificationType" ADD VALUE 'teams';--> statement-breakpoint
|
|
CREATE TABLE "teams" (
|
|
"teamsId" text PRIMARY KEY NOT NULL,
|
|
"webhookUrl" text NOT NULL
|
|
);
|
|
--> statement-breakpoint
|
|
ALTER TABLE "notification" ADD COLUMN "teamsId" text;--> statement-breakpoint
|
|
ALTER TABLE "notification" ADD CONSTRAINT "notification_teamsId_teams_teamsId_fk" FOREIGN KEY ("teamsId") REFERENCES "public"."teams"("teamsId") ON DELETE cascade ON UPDATE no action; |