pears.NotificationReports

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

Column Type Null Default Comment
NotificationReportsID char(20) NOT NULL
NotificationTemplateID char(50) NULL
Reportid char(20) NULL
DocumentTypeID char(20) NULL
MultiColumn tinyint NULL 0
  • NotificationReportsID
Constraint Columns References Delete/update action
NotificationTemplate NotificationTemplateID pears.NotificationTemplate (NotificationTemplateID) ON DELETE CASCADE
Report Reportid pears.report (reportid) ON DELETE CASCADE
Documenttype DocumentTypeID pears.DocumentType (DocumentTypeID) 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"."NotificationReports"
-- Table comment: 
-- Statement count: 4
 
CREATE TABLE "pears"."NotificationReports" (
    "NotificationReportsID"          CHAR(20) NOT NULL
   ,"NotificationTemplateID"         CHAR(50) NULL
   ,"Reportid"                       CHAR(20) NULL
   ,"DocumentTypeID"                 CHAR(20) NULL
   ,"MultiColumn"                    tinyint NULL DEFAULT 0
   ,PRIMARY KEY ("NotificationReportsID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."NotificationReports"
    ADD FOREIGN KEY "NotificationTemplate" ("NotificationTemplateID" ASC)
    REFERENCES "pears"."NotificationTemplate" ("NotificationTemplateID")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."NotificationReports"
    ADD FOREIGN KEY "Report" ("Reportid" ASC)
    REFERENCES "pears"."report" ("reportid")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."NotificationReports"
    ADD FOREIGN KEY "Documenttype" ("DocumentTypeID" ASC)
    REFERENCES "pears"."DocumentType" ("DocumentTypeID")
    ON DELETE CASCADE
GO
  • database/tables/pears_notificationreports.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1