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.
This commit is contained in:
Mauricio Siu
2025-12-07 13:15:12 -06:00
parent 817264eae4
commit 67865c5283
2 changed files with 4 additions and 44 deletions

View File

@@ -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": {

View File

@@ -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": {