Show pageOld revisionsBacklinksExport to PDFFold/unfold allBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== pears.DiaryTaskList ====== <WRAP center round info> Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. </WRAP> ===== Description ===== Task list tasks. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | **DiaryTaskListID** | char(20) | NOT NULL | | | | StaffID | char(20) | NOT NULL | | | | Ticked | smallint | NULL | 0 | | | SortOrder | smallint | NULL | | | | Details | long varchar | NULL | | | ===== Primary Key ===== * DiaryTaskListID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | staff | StaffID | [[database:tables:pears_staff|pears.staff (staffid)]] | NOT NULL; ON DELETE CASCADE | ===== Referenced By ===== * No incoming foreign keys found. ===== Indexes ===== * No indexes found. ===== Triggers ===== * No triggers found. ===== Original SQL ===== <code sql> -- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."DiaryTaskList" -- Table comment: Task list tasks. -- Statement count: 3 CREATE TABLE "pears"."DiaryTaskList" ( "DiaryTaskListID" char(20) NOT NULL ,"StaffID" char(20) NOT NULL ,"Ticked" smallint NULL DEFAULT 0 ,"SortOrder" smallint NULL ,"Details" long varchar NULL ,PRIMARY KEY ("DiaryTaskListID" ASC) ) go COMMENT ON TABLE "pears"."DiaryTaskList" IS 'Task list tasks.' go ALTER TABLE "pears"."DiaryTaskList" ADD NOT NULL FOREIGN KEY "staff" ("StaffID" ASC) REFERENCES "pears"."staff" ("staffid") ON DELETE CASCADE go </code> database/tables/pears_diarytasklist.txt Last modified: 2026/08/07 19:24by 127.0.0.1