Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
If original staff member does not respond who should the message cascade to
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| CascadeType | char(20) | NOT NULL | ||
| DiaryID | char(20) | NOT NULL | ||
| WhenCascaded | timestamp | NULL | current timestamp | |
| Address | char(100) | NULL |
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| Diary | DiaryID | pears.diary (diaryid) | NOT NULL; ON DELETE CASCADE |
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."IQXNetNotificationCascade" -- Table comment: If original staff member does not respond who should the message cascade to -- Statement count: 3 CREATE TABLE "pears"."IQXNetNotificationCascade" ( "CascadeType" CHAR(20) NOT NULL ,"DiaryID" CHAR(20) NOT NULL ,"WhenCascaded" TIMESTAMP NULL DEFAULT CURRENT TIMESTAMP ,"Address" CHAR(100) NULL ,PRIMARY KEY ("CascadeType" ASC,"DiaryID" ASC) ) GO COMMENT ON TABLE "pears"."IQXNetNotificationCascade" IS 'If original staff member does not respond who should the message cascade to' GO ALTER TABLE "pears"."IQXNetNotificationCascade" ADD NOT NULL FOREIGN KEY "Diary" ("DiaryID" ASC) REFERENCES "pears"."diary" ("diaryid") ON DELETE CASCADE GO