mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-13 23:45:17 +00:00
chore: remove obsolete SQL files for custom webhook notifications
- Deleted SQL scripts related to the 'custom' notification type and its associated table modifications, as they are no longer needed in the current schema.
This commit is contained in:
@@ -1,12 +0,0 @@
|
|||||||
ALTER TYPE "public"."notificationType" ADD VALUE 'custom';--> statement-breakpoint
|
|
||||||
CREATE TABLE "custom" (
|
|
||||||
"customId" text PRIMARY KEY NOT NULL,
|
|
||||||
"endpoint" text NOT NULL,
|
|
||||||
"httpMethod" text DEFAULT 'POST' NOT NULL,
|
|
||||||
"headers" text,
|
|
||||||
"body" text,
|
|
||||||
"queryParams" text
|
|
||||||
);
|
|
||||||
--> statement-breakpoint
|
|
||||||
ALTER TABLE "notification" ADD COLUMN "customId" text;--> statement-breakpoint
|
|
||||||
ALTER TABLE "notification" ADD CONSTRAINT "notification_customId_custom_customId_fk" FOREIGN KEY ("customId") REFERENCES "public"."custom"("customId") ON DELETE cascade ON UPDATE no action;
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
ALTER TABLE "custom" DROP COLUMN "httpMethod";--> statement-breakpoint
|
|
||||||
ALTER TABLE "custom" DROP COLUMN "body";--> statement-breakpoint
|
|
||||||
ALTER TABLE "custom" DROP COLUMN "queryParams";
|
|
||||||
@@ -3997,56 +3997,6 @@
|
|||||||
"checkConstraints": {},
|
"checkConstraints": {},
|
||||||
"isRLSEnabled": false
|
"isRLSEnabled": false
|
||||||
},
|
},
|
||||||
"public.custom": {
|
|
||||||
"name": "custom",
|
|
||||||
"schema": "",
|
|
||||||
"columns": {
|
|
||||||
"customId": {
|
|
||||||
"name": "customId",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": true,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"endpoint": {
|
|
||||||
"name": "endpoint",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"httpMethod": {
|
|
||||||
"name": "httpMethod",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true,
|
|
||||||
"default": "'POST'"
|
|
||||||
},
|
|
||||||
"headers": {
|
|
||||||
"name": "headers",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"body": {
|
|
||||||
"name": "body",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"queryParams": {
|
|
||||||
"name": "queryParams",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"indexes": {},
|
|
||||||
"foreignKeys": {},
|
|
||||||
"compositePrimaryKeys": {},
|
|
||||||
"uniqueConstraints": {},
|
|
||||||
"policies": {},
|
|
||||||
"checkConstraints": {},
|
|
||||||
"isRLSEnabled": false
|
|
||||||
},
|
|
||||||
"public.discord": {
|
"public.discord": {
|
||||||
"name": "discord",
|
"name": "discord",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
|
|||||||
@@ -4021,37 +4021,6 @@
|
|||||||
"checkConstraints": {},
|
"checkConstraints": {},
|
||||||
"isRLSEnabled": false
|
"isRLSEnabled": false
|
||||||
},
|
},
|
||||||
"public.custom": {
|
|
||||||
"name": "custom",
|
|
||||||
"schema": "",
|
|
||||||
"columns": {
|
|
||||||
"customId": {
|
|
||||||
"name": "customId",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": true,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"endpoint": {
|
|
||||||
"name": "endpoint",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": true
|
|
||||||
},
|
|
||||||
"headers": {
|
|
||||||
"name": "headers",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"indexes": {},
|
|
||||||
"foreignKeys": {},
|
|
||||||
"compositePrimaryKeys": {},
|
|
||||||
"uniqueConstraints": {},
|
|
||||||
"policies": {},
|
|
||||||
"checkConstraints": {},
|
|
||||||
"isRLSEnabled": false
|
|
||||||
},
|
|
||||||
"public.discord": {
|
"public.discord": {
|
||||||
"name": "discord",
|
"name": "discord",
|
||||||
"schema": "",
|
"schema": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user