pears.placementremuneration

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
placementremunerationid char(20) NOT NULL
placementid char(20) NOT NULL
code char(1) NOT NULL
value numeric(12,2) NOT NULL
  • placementremunerationid
Constraint Columns References Delete/update action
placement placementid pears.Placement (placementid) NOT NULL; ON DELETE CASCADE
remuneration code pears.remuneration (code) 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"."placementremuneration"
-- Table comment: REDUNDANT
-- Statement count: 4
 
CREATE TABLE "pears"."placementremuneration" (
    "placementremunerationid"        CHAR(20) NOT NULL
   ,"placementid"                    CHAR(20) NOT NULL
   ,"code"                           CHAR(1) NOT NULL
   ,"value"                          NUMERIC(12,2) NOT NULL
   ,PRIMARY KEY ("placementremunerationid" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."placementremuneration" IS 
	'REDUNDANT'
GO
 
 
ALTER TABLE "pears"."placementremuneration"
    ADD NOT NULL FOREIGN KEY "placement" ("placementid" ASC)
    REFERENCES "pears"."Placement" ("placementid")
    ON DELETE CASCADE
GO
 
 
ALTER TABLE "pears"."placementremuneration"
    ADD NOT NULL FOREIGN KEY "remuneration" ("code" ASC)
    REFERENCES "pears"."remuneration" ("code")
GO
  • database/tables/pears_placementremuneration.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1