PAGEMODELDESIGN

Contains the page models under design.

Primary Key

Primary Key Field Type
ID uniqueidentifier

Fields

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) yes CONVERT(bigint, TS) Numeric representation of the timestamp.
MODELID uniqueidentifier yes GUID of this model.
EXPORTOPTIONS nvarchar(max) Default = '' Export options

Foreign Keys

Foreign Key Field Type Null Notes Description
CLIENTSITESID int yes 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.

Indexes

Index Name Fields Unique Primary Clustered
IX_PAGEMODELDESIGN_DATEADDED DATEADDED yes
IX_PAGEMODELDESIGN_DATECHANGED DATECHANGED
PK_PAGEMODELDESIGN ID yes yes
UIX_PAGEMODELDESIGN_ID_CLIENTSITESID ID, CLIENTSITESID yes

Triggers

Trigger Name Description
TR_PAGEMODELDESIGN_AUDIT_UPDATE
TR_PAGEMODELDESIGN_AUDIT_DELETE

Referenced by

Referenced by Field
PAGEMODELDESIGNITEM MODELID