From 67865c52833d124062f6471fc0f1a8475c1fa505 Mon Sep 17 00:00:00 2001 From: Mauricio Siu Date: Sun, 7 Dec 2025 13:15:12 -0600 Subject: [PATCH] chore: update notification schema by removing customId references - Removed the 'customId' field and its associated foreign key constraints from the notification schema in both 0113_snapshot.json and 0114_snapshot.json. - Updated the list of supported notification types to exclude 'custom', reflecting the recent changes in notification handling. --- apps/dokploy/drizzle/meta/0113_snapshot.json | 22 +---------------- apps/dokploy/drizzle/meta/0114_snapshot.json | 26 +++----------------- 2 files changed, 4 insertions(+), 44 deletions(-) diff --git a/apps/dokploy/drizzle/meta/0113_snapshot.json b/apps/dokploy/drizzle/meta/0113_snapshot.json index 7e66aaaac..2ce49e03e 100644 --- a/apps/dokploy/drizzle/meta/0113_snapshot.json +++ b/apps/dokploy/drizzle/meta/0113_snapshot.json @@ -4234,12 +4234,6 @@ "primaryKey": false, "notNull": false }, - "customId": { - "name": "customId", - "type": "text", - "primaryKey": false, - "notNull": false - }, "organizationId": { "name": "organizationId", "type": "text", @@ -4327,19 +4321,6 @@ "onDelete": "cascade", "onUpdate": "no action" }, - "notification_customId_custom_customId_fk": { - "name": "notification_customId_custom_customId_fk", - "tableFrom": "notification", - "tableTo": "custom", - "columnsFrom": [ - "customId" - ], - "columnsTo": [ - "customId" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, "notification_organizationId_organization_id_fk": { "name": "notification_organizationId_organization_id_fk", "tableFrom": "notification", @@ -6497,8 +6478,7 @@ "discord", "email", "gotify", - "ntfy", - "custom" + "ntfy" ] }, "public.protocolType": { diff --git a/apps/dokploy/drizzle/meta/0114_snapshot.json b/apps/dokploy/drizzle/meta/0114_snapshot.json index bdd4a2cd8..108195dec 100644 --- a/apps/dokploy/drizzle/meta/0114_snapshot.json +++ b/apps/dokploy/drizzle/meta/0114_snapshot.json @@ -1,6 +1,6 @@ { - "id": "da1c966b-1fc0-41ea-b54c-38d748f3d5f5", - "prevId": "f859f128-7326-4ec9-b5d8-78b518c77fa5", + "id": "70e92aa8-56d1-4842-b844-775cb8198849", + "prevId": "8310936d-e9ff-408b-ae6d-2292aac02523", "version": "7", "dialect": "postgresql", "tables": { @@ -4258,12 +4258,6 @@ "primaryKey": false, "notNull": false }, - "customId": { - "name": "customId", - "type": "text", - "primaryKey": false, - "notNull": false - }, "organizationId": { "name": "organizationId", "type": "text", @@ -4351,19 +4345,6 @@ "onDelete": "cascade", "onUpdate": "no action" }, - "notification_customId_custom_customId_fk": { - "name": "notification_customId_custom_customId_fk", - "tableFrom": "notification", - "tableTo": "custom", - "columnsFrom": [ - "customId" - ], - "columnsTo": [ - "customId" - ], - "onDelete": "cascade", - "onUpdate": "no action" - }, "notification_organizationId_organization_id_fk": { "name": "notification_organizationId_organization_id_fk", "tableFrom": "notification", @@ -6533,8 +6514,7 @@ "discord", "email", "gotify", - "ntfy", - "custom" + "ntfy" ] }, "public.protocolType": {