pears.TempShiftInvoice

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

Column Type Null Default Comment
TempShiftInvoiceID char(20) NOT NULL
TempTimeSheetID char(20) NOT NULL
TempShiftID char(20) NOT NULL
  • TempShiftInvoiceID
Constraint Columns References Delete/update action
TempTimeSheet TempTimeSheetID pears.TempTimeSheet (TempTimeSheetID) NOT NULL; ON DELETE CASCADE
TempShift TempShiftID pears.TempShift (TempShiftID) NOT NULL; 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"."TempShiftInvoice"
-- Table comment: 
-- Statement count: 3
 
CREATE TABLE "pears"."TempShiftInvoice" (
    "TempShiftInvoiceID"             CHAR(20) NOT NULL
   ,"TempTimeSheetID"                CHAR(20) NOT NULL
   ,"TempShiftID"                    CHAR(20) NOT NULL
   ,PRIMARY KEY ("TempShiftInvoiceID" ASC) 
)
GO
 
 
ALTER TABLE "pears"."TempShiftInvoice"
    ADD NOT NULL FOREIGN KEY "TempTimeSheet" ("TempTimeSheetID" ASC)
    REFERENCES "pears"."TempTimeSheet" ("TempTimeSheetID")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."TempShiftInvoice"
    ADD NOT NULL FOREIGN KEY "TempShift" ("TempShiftID" ASC)
    REFERENCES "pears"."TempShift" ("TempShiftID")
    ON DELETE CASCADE
GO
  • database/tables/pears_tempshiftinvoice.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1