database:tables:pears_placementrole



pears.PlacementRole

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

Capacities in which Staff records are related to a Placement

Column Type Null Default Comment
PlacementRoleID char(20) NOT NULL
Description char(50) NULL
DepartmentID char(2) NULL
SortOrder smallint NULL
  • PlacementRoleID
Constraint Columns References Delete/update action
department DepartmentID pears.Department (departmentid) ON DELETE SET NULL
Table Constraint Columns Referenced columns
pears.Placement PlacementRole PlacementRoleID PlacementRoleID
  • No indexes found.
  • No triggers found.
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."PlacementRole"
-- Table comment: Capacities in which Staff records are related to a Placement
-- Statement count: 3
 
CREATE TABLE "pears"."PlacementRole" (
    "PlacementRoleID"                CHAR(20) NOT NULL
   ,"Description"                    CHAR(50) NULL
   ,"DepartmentID"                   CHAR(2) NULL
   ,"SortOrder"                      SMALLINT NULL
   ,PRIMARY KEY ("PlacementRoleID" ASC) 
)
GO
 
 
COMMENT ON TABLE "pears"."PlacementRole" IS 
	'Capacities in which Staff records are related to a Placement'
GO
 
 
ALTER TABLE "pears"."PlacementRole"
    ADD FOREIGN KEY "department" ("DepartmentID" ASC)
    REFERENCES "pears"."Department" ("departmentid")
    ON DELETE SET NULL
GO
  • database/tables/pears_placementrole.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1