Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 LAYOUTID int   Default = 0 Integer primary key of layout to be used in this theme
 SEQUENCE int   Default = 0 Position of this layout in this theme. Site Pages may specify this id to denote which theme layout to use.
 DATEADDED datetime   Default = getdate() Indicates the date this record was added.
 DATECHANGED datetime   Default = getdate() Indicates the date this record was last changed.
 TS timestamp   Timestamp.
 TSLONG bigint (Computed) CONVERT(bigint, TS) Numeric representation of the timestamp.

Foreign Key Field Type Null Notes Description
 THEMEID uniqueidentifier THEME.ID FK to THEME
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_THEMELAYOUT_DATEADDED DATEADDED    
 IX_THEMELAYOUT_DATECHANGED DATECHANGED      
 PK_THEMELAYOUT ID  

Trigger Name Description
 TR_THEMELAYOUT_AUDIT_UPDATE
 TR_THEMELAYOUT_AUDIT_DELETE

Entity-Relationship diagram of this table