pears.storedselectionstaff

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

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