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 |
| TrengoID | integer | NOT NULL | | |
| Description | char(100) | NULL | | |
| StaffID | char(20) | NULL | | |
| Constraint | Columns | References | Delete/update action |
| Staff | StaffID | pears.staff (staffid) | ON DELETE SET NULL |
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."Trengo"
-- Table comment:
-- Statement count: 2
CREATE TABLE "pears"."Trengo" (
"TrengoID" INTEGER NOT NULL
,"Description" CHAR(100) NULL
,"StaffID" CHAR(20) NULL
,PRIMARY KEY ("TrengoID" ASC)
)
GO
ALTER TABLE "pears"."Trengo"
ADD FOREIGN KEY "Staff" ("StaffID" ASC)
REFERENCES "pears"."staff" ("staffid")
ON DELETE SET NULL
GO