Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(256)   Default = ''
 DESCRIPTION nvarchar(2048)   Default = ''
 LAYOUTID int   Default = 0
 TEMPLATEID int   Default = 0
 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.
 DEFAULTSTYLING int   Default = 0
 IMAGEID int   Default = 0
 DEFAULTSTYLINGSEQUENCE int   Default = 0
 LAYOUTSTYLINGSEQUENCE int   Default = 0

Foreign Key Field Type Null Notes Description
 CLIENTSITESID int ClientSites.ID FK to CLIENTSITES
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_THEME_DATEADDED DATEADDED    
 IX_THEME_DATECHANGED DATECHANGED      
 PK_THEME ID  

Trigger Name Description
 TR_THEME_AUDIT_UPDATE
 TR_THEME_AUDIT_DELETE

Referenced by Field
 THEMELAYOUT THEMEID
 THEMESTYLESHEET THEMEID

Entity-Relationship diagram of this table