pears.DashboardDisplayedObject

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

Objects which actually appear on individuals IQXWeb dashboard

Column Type Null Default Comment
DashboardObjectID char(20) NOT NULL
StaffID char(20) NOT NULL
OnDashboard smallint NULL 0
OnHomePage smallint NULL 0
  • DashboardObjectID, StaffID
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
  • No incoming foreign keys found.
  • No indexes found.
  • No triggers found.
-- 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
  • database/tables/pears_dashboarddisplayedobject.txt
  • Last modified: 2026/08/07 19:24
  • by 127.0.0.1