mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-11 00:45:26 +02:00
feat(notification): add 'lark' notification type and create associated table; update notification schema
This commit is contained in:
8
apps/dokploy/drizzle/0118_loose_anita_blake.sql
Normal file
8
apps/dokploy/drizzle/0118_loose_anita_blake.sql
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
ALTER TYPE "public"."notificationType" ADD VALUE 'lark';--> statement-breakpoint
|
||||||
|
CREATE TABLE "lark" (
|
||||||
|
"larkId" text PRIMARY KEY NOT NULL,
|
||||||
|
"webhookUrl" text NOT NULL
|
||||||
|
);
|
||||||
|
--> statement-breakpoint
|
||||||
|
ALTER TABLE "notification" ADD COLUMN "larkId" text;--> statement-breakpoint
|
||||||
|
ALTER TABLE "notification" ADD CONSTRAINT "notification_larkId_lark_larkId_fk" FOREIGN KEY ("larkId") REFERENCES "public"."lark"("larkId") ON DELETE cascade ON UPDATE no action;
|
||||||
6679
apps/dokploy/drizzle/meta/0118_snapshot.json
Normal file
6679
apps/dokploy/drizzle/meta/0118_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -827,6 +827,13 @@
|
|||||||
"when": 1761370953274,
|
"when": 1761370953274,
|
||||||
"tag": "0117_lumpy_nuke",
|
"tag": "0117_lumpy_nuke",
|
||||||
"breakpoints": true
|
"breakpoints": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"idx": 118,
|
||||||
|
"version": "7",
|
||||||
|
"when": 1761415824484,
|
||||||
|
"tag": "0118_loose_anita_blake",
|
||||||
|
"breakpoints": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user