mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-23 04:18:45 +00:00
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:
@@ -4234,12 +4234,6 @@
|
|||||||
"primaryKey": false,
|
"primaryKey": false,
|
||||||
"notNull": false
|
"notNull": false
|
||||||
},
|
},
|
||||||
"customId": {
|
|
||||||
"name": "customId",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"organizationId": {
|
"organizationId": {
|
||||||
"name": "organizationId",
|
"name": "organizationId",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -4327,19 +4321,6 @@
|
|||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"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": {
|
"notification_organizationId_organization_id_fk": {
|
||||||
"name": "notification_organizationId_organization_id_fk",
|
"name": "notification_organizationId_organization_id_fk",
|
||||||
"tableFrom": "notification",
|
"tableFrom": "notification",
|
||||||
@@ -6497,8 +6478,7 @@
|
|||||||
"discord",
|
"discord",
|
||||||
"email",
|
"email",
|
||||||
"gotify",
|
"gotify",
|
||||||
"ntfy",
|
"ntfy"
|
||||||
"custom"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"public.protocolType": {
|
"public.protocolType": {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"id": "da1c966b-1fc0-41ea-b54c-38d748f3d5f5",
|
"id": "70e92aa8-56d1-4842-b844-775cb8198849",
|
||||||
"prevId": "f859f128-7326-4ec9-b5d8-78b518c77fa5",
|
"prevId": "8310936d-e9ff-408b-ae6d-2292aac02523",
|
||||||
"version": "7",
|
"version": "7",
|
||||||
"dialect": "postgresql",
|
"dialect": "postgresql",
|
||||||
"tables": {
|
"tables": {
|
||||||
@@ -4258,12 +4258,6 @@
|
|||||||
"primaryKey": false,
|
"primaryKey": false,
|
||||||
"notNull": false
|
"notNull": false
|
||||||
},
|
},
|
||||||
"customId": {
|
|
||||||
"name": "customId",
|
|
||||||
"type": "text",
|
|
||||||
"primaryKey": false,
|
|
||||||
"notNull": false
|
|
||||||
},
|
|
||||||
"organizationId": {
|
"organizationId": {
|
||||||
"name": "organizationId",
|
"name": "organizationId",
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -4351,19 +4345,6 @@
|
|||||||
"onDelete": "cascade",
|
"onDelete": "cascade",
|
||||||
"onUpdate": "no action"
|
"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": {
|
"notification_organizationId_organization_id_fk": {
|
||||||
"name": "notification_organizationId_organization_id_fk",
|
"name": "notification_organizationId_organization_id_fk",
|
||||||
"tableFrom": "notification",
|
"tableFrom": "notification",
|
||||||
@@ -6533,8 +6514,7 @@
|
|||||||
"discord",
|
"discord",
|
||||||
"email",
|
"email",
|
||||||
"gotify",
|
"gotify",
|
||||||
"ntfy",
|
"ntfy"
|
||||||
"custom"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"public.protocolType": {
|
"public.protocolType": {
|
||||||
|
|||||||
Reference in New Issue
Block a user