====== pears.HTMLImage ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
Links to contactevent - 1 record per image.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **HTMLImageID** | char(20) | NOT NULL | | |
| DocType | char(20) | NOT NULL | | |
| DocID | char(20) | NOT NULL | | |
| FileName | char(150) | NOT NULL | | |
| FileHash | char(32) | NULL | | |
| BlobID | char(20) | NULL | | |
===== Primary Key =====
* HTMLImageID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
* No incoming foreign keys found.
===== Indexes =====
^ Name ^ Type ^ Columns ^ Detail ^
| HTMLImageFile | Index | DocType, DocID, FileName | |
| HTMLImageBlob | Index | BlobID | |
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."HTMLImage"
-- Table comment: Links to contactevent - 1 record per image.
-- Statement count: 4
CREATE TABLE "pears"."HTMLImage" (
"HTMLImageID" char(20) NOT NULL
,"DocType" char(20) NOT NULL
,"DocID" char(20) NOT NULL
,"FileName" char(150) NOT NULL
,"FileHash" char(32) NULL
,"BlobID" char(20) NULL
,PRIMARY KEY ("HTMLImageID" ASC)
)
go
COMMENT ON TABLE "pears"."HTMLImage" IS
'Links to contactevent - 1 record per image.'
go
CREATE INDEX "HTMLImageFile" ON "pears"."HTMLImage"
( "DocType","DocID","FileName" )
go
CREATE INDEX "HTMLImageBlob" ON "pears"."HTMLImage"
( "BlobID" )
go