diff --git a/apps/dokploy/drizzle/0113_keen_wasp.sql b/apps/dokploy/drizzle/0113_keen_wasp.sql deleted file mode 100644 index c9cc4642d..000000000 --- a/apps/dokploy/drizzle/0113_keen_wasp.sql +++ /dev/null @@ -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; \ No newline at end of file diff --git a/apps/dokploy/drizzle/0114_smart_shape.sql b/apps/dokploy/drizzle/0114_smart_shape.sql deleted file mode 100644 index 4be267df6..000000000 --- a/apps/dokploy/drizzle/0114_smart_shape.sql +++ /dev/null @@ -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"; \ No newline at end of file diff --git a/apps/dokploy/drizzle/meta/0113_snapshot.json b/apps/dokploy/drizzle/meta/0113_snapshot.json index 023b05f4c..7e66aaaac 100644 --- a/apps/dokploy/drizzle/meta/0113_snapshot.json +++ b/apps/dokploy/drizzle/meta/0113_snapshot.json @@ -3997,56 +3997,6 @@ "checkConstraints": {}, "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": { "name": "discord", "schema": "", diff --git a/apps/dokploy/drizzle/meta/0114_snapshot.json b/apps/dokploy/drizzle/meta/0114_snapshot.json index 0bdbc1d29..bdd4a2cd8 100644 --- a/apps/dokploy/drizzle/meta/0114_snapshot.json +++ b/apps/dokploy/drizzle/meta/0114_snapshot.json @@ -4021,37 +4021,6 @@ "checkConstraints": {}, "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": { "name": "discord", "schema": "",