====== pears.CollectionType ======
Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace.
===== Description =====
User defined list of Collection types.
===== Columns =====
^ Column ^ Type ^ Null ^ Default ^ Comment ^
| **CollectionTypeID** | char(20) | NOT NULL | | |
| QuestionLink | char(2) | NULL | | |
| Name | char(60) | NOT NULL | | |
| sortorder | smallint | NULL | | |
===== Primary Key =====
* CollectionTypeID
===== Foreign Keys =====
* No outgoing foreign keys found.
===== Referenced By =====
^ Table ^ Constraint ^ Columns ^ Referenced columns ^
| [[database:tables:pears_collection|pears.Collection]] | CollectionType | CollectionTypeID | CollectionTypeID |
===== Indexes =====
* No indexes found.
===== Triggers =====
* No triggers found.
===== Original SQL =====
-- IQX database structure split by table
-- Source: IQXDatabaseStructure - with comments.sql
-- Table: "pears"."CollectionType"
-- Table comment: User defined list of Collection types.
-- Statement count: 2
CREATE TABLE "pears"."CollectionType" (
"CollectionTypeID" char(20) NOT NULL
,"QuestionLink" char(2) NULL
,"Name" char(60) NOT NULL
,"sortorder" smallint NULL
,PRIMARY KEY ("CollectionTypeID" ASC)
)
go
COMMENT ON TABLE "pears"."CollectionType" IS
'User defined list of Collection types.'
go