Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 MODELNAME nvarchar(256)   Default = '' Name of the page model
 LOCKARTIFACTS bit   Default = 1 Default false. If true, all CMS artifacts created by this model will be non-editable in the target CMS.
 ARTIFACTPREFIX nvarchar(256)   Default = '' Prefix all artifact names with this string.
 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.
 MODELID uniqueidentifier GUID of this model.
 EXPORTOPTIONS nvarchar(max)   Default = ''

Foreign Key Field Type Null Notes Description
 CLIENTSITESID int ClientSites.ID The ID of the site containing this model design
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_PAGEMODELDESIGN_DATEADDED DATEADDED    
 IX_PAGEMODELDESIGN_DATECHANGED DATECHANGED      
 PK_PAGEMODELDESIGN ID  
 UIX_PAGEMODELDESIGN_ID_CLIENTSITESID ID, CLIENTSITESID    

Trigger Name Description
 TR_PAGEMODELDESIGN_AUDIT_UPDATE
 TR_PAGEMODELDESIGN_AUDIT_DELETE

Referenced by Field
 PAGEMODELDESIGNITEM MODELID

Entity-Relationship diagram of this table