Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
Columns
| Column | Type | Null | Default | Comment |
| StaffTeamID | char(20) | NOT NULL | | |
| Description | char(50) | NULL | | |
| OwnerID | char(20) | NULL | | |
| SortOrder | integer | NULL | | |
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."StaffTeam"
-- Table comment:
-- Statement count: 2
CREATE TABLE "pears"."StaffTeam" (
"StaffTeamID" CHAR(20) NOT NULL
,"Description" CHAR(50) NULL
,"OwnerID" CHAR(20) NULL
,"SortOrder" INTEGER NULL
,PRIMARY KEY ("StaffTeamID" ASC)
)
GO
ALTER TABLE "pears"."StaffTeam"
ADD FOREIGN KEY "Staff" ("OwnerID" ASC)
REFERENCES "pears"."staff" ("staffid")
ON DELETE CASCADE
GO