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.TempShiftPlanAuthorise ====== <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 ===== Record of (customer) authorisation of individual TempShiftPlan records. ===== Columns ===== ^ Column ^ Type ^ Null ^ Default ^ Comment ^ | AuthorisedBy | char(50) | NULL | | | | **TempShiftPlanID** | char(20) | NOT NULL | | | | WhoEntered | char(20) | NULL | | | | WhenEntered | timestamp | NULL | current timestamp | | ===== Primary Key ===== * TempShiftPlanID ===== Foreign Keys ===== ^ Constraint ^ Columns ^ References ^ Delete/update action ^ | TempShiftPlan | TempShiftPlanID | [[database:tables:pears_tempshiftplan|pears.TempShiftPlan (TempShiftPlanID)]] | 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"."TempShiftPlanAuthorise" -- Table comment: Record of (customer) authorisation of individual TempShiftPlan records. -- Statement count: 3 CREATE TABLE "pears"."TempShiftPlanAuthorise" ( "AuthorisedBy" char(50) NULL ,"TempShiftPlanID" char(20) NOT NULL ,"WhoEntered" char(20) NULL ,"WhenEntered" timestamp NULL DEFAULT current timestamp ,PRIMARY KEY ("TempShiftPlanID" ASC) ) go COMMENT ON TABLE "pears"."TempShiftPlanAuthorise" IS 'Record of (customer) authorisation of individual TempShiftPlan records.' go ALTER TABLE "pears"."TempShiftPlanAuthorise" ADD NOT NULL FOREIGN KEY "TempShiftPlan" ("TempShiftPlanID" ASC) REFERENCES "pears"."TempShiftPlan" ("TempShiftPlanID") ON DELETE CASCADE go </code> database/tables/pears_tempshiftplanauthorise.txt Last modified: 2026/08/07 19:24by 127.0.0.1