pears.placementattribution

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

REDUNDANT

Column Type Null Default Comment
placementattributionid char(20) NOT NULL
percent double NULL
score double NULL
placementid char(20) NOT NULL
staffid char(20) NOT NULL
  • placementattributionid
Constraint Columns References Delete/update action
placement placementid pears.Placement (placementid) NOT NULL; ON DELETE CASCADE
staff staffid pears.staff (staffid) NOT NULL;
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."placementattribution"
-- Table comment: REDUNDANT
-- Statement count: 4
 
CREATE TABLE "pears"."placementattribution" (
    "placementattributionid"         CHAR(20) NOT NULL
   ,"percent"                        DOUBLE NULL
   ,"score"                          DOUBLE NULL
   ,"placementid"                    CHAR(20) NOT NULL
   ,"staffid"                        CHAR(20) NOT NULL
   ,PRIMARY KEY ("placementattributionid" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."placementattribution" IS 
	'REDUNDANT'
GO
 
 
ALTER TABLE "pears"."placementattribution"
    ADD NOT NULL FOREIGN KEY "placement" ("placementid" ASC)
    REFERENCES "pears"."Placement" ("placementid")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."placementattribution"
    ADD NOT NULL FOREIGN KEY "staff" ("staffid" ASC)
    REFERENCES "pears"."staff" ("staffid")
GO
  • database/tables/pears_placementattribution.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1