pears.DashboardDisplayedObject
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Description
Objects which actually appear on individuals IQXWeb dashboard
Columns
| Column | Type | Null | Default | Comment |
|---|---|---|---|---|
| DashboardObjectID | char(20) | NOT NULL | ||
| StaffID | char(20) | NOT NULL | ||
| OnDashboard | smallint | NULL | 0 | |
| OnHomePage | smallint | NULL | 0 |
Primary Key
- DashboardObjectID, StaffID
Foreign Keys
| Constraint | Columns | References | Delete/update action |
|---|---|---|---|
| DashboardObject | DashboardObjectID | pears.DashboardObject (DashboardObjectID) | NOT NULL; ON DELETE CASCADE |
| Staff | StaffID | pears.staff (staffid) | NOT NULL; ON DELETE CASCADE |
Referenced By
- No incoming foreign keys found.
Indexes
- No indexes found.
Triggers
- No triggers found.
Original SQL
-- IQX database structure split by table -- Source: IQXDatabaseStructure - with comments.sql -- Table: "pears"."DashboardDisplayedObject" -- Table comment: Objects which actually appear on individuals IQXWeb dashboard -- Statement count: 4 CREATE TABLE "pears"."DashboardDisplayedObject" ( "DashboardObjectID" CHAR(20) NOT NULL ,"StaffID" CHAR(20) NOT NULL ,"OnDashboard" SMALLINT NULL DEFAULT 0 ,"OnHomePage" SMALLINT NULL DEFAULT 0 ,PRIMARY KEY ("DashboardObjectID" ASC,"StaffID" ASC) ) GO COMMENT ON TABLE "pears"."DashboardDisplayedObject" IS 'Objects which actually appear on individuals IQXWeb dashboard' GO ALTER TABLE "pears"."DashboardDisplayedObject" ADD NOT NULL FOREIGN KEY "DashboardObject" ("DashboardObjectID" ASC) REFERENCES "pears"."DashboardObject" ("DashboardObjectID") ON DELETE CASCADE GO ALTER TABLE "pears"."DashboardDisplayedObject" ADD NOT NULL FOREIGN KEY "Staff" ("StaffID" ASC) REFERENCES "pears"."staff" ("staffid") ON DELETE CASCADE GO