database:tables:pears_notificationdocuments



pears.NotificationDocuments

Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.

Column Type Null Default Comment
NotificationDocumentsID char(20) NOT NULL
NotificationTemplateID char(50) NULL
DocumentTypeid char(20) NULL
GlobalDocumentID char(20) NULL
  • NotificationDocumentsID
Constraint Columns References Delete/update action
NotificationTemplate NotificationTemplateID pears.NotificationTemplate (NotificationTemplateID) ON DELETE CASCADE
DocumentType DocumentTypeid pears.DocumentType (DocumentTypeID) ON DELETE CASCADE
GlobalDocument GlobalDocumentID pears.globaldocument (globaldocumentID) ON DELETE CASCADE
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."NotificationDocuments"
-- Table comment: 
-- Statement count: 4
 
CREATE TABLE "pears"."NotificationDocuments" (
    "NotificationDocumentsID"        CHAR(20) NOT NULL
   ,"NotificationTemplateID"         CHAR(50) NULL
   ,"DocumentTypeid"                 CHAR(20) NULL
   ,"GlobalDocumentID"               CHAR(20) NULL
   ,PRIMARY KEY ("NotificationDocumentsID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."NotificationDocuments"
    ADD FOREIGN KEY "NotificationTemplate" ("NotificationTemplateID" ASC)
    REFERENCES "pears"."NotificationTemplate" ("NotificationTemplateID")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."NotificationDocuments"
    ADD FOREIGN KEY "DocumentType" ("DocumentTypeid" ASC)
    REFERENCES "pears"."DocumentType" ("DocumentTypeID")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."NotificationDocuments"
    ADD FOREIGN KEY "GlobalDocument" ("GlobalDocumentID" ASC)
    REFERENCES "pears"."globaldocument" ("globaldocumentID")
    ON DELETE CASCADE
GO
  • database/tables/pears_notificationdocuments.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1