PAGEMODEL
Contains the page models loaded into each CMS site.
Primary Key
Primary Key |
Field Type |
ID |
uniqueidentifier |
Fields
Field |
Field Type |
Null |
Notes |
Description |
MODELNAME |
nvarchar(256) |
|
Default = '' |
Name of the page model |
MODELID |
uniqueidentifier |
|
|
The model spec id of this model |
MODELVERSION |
int |
|
Default = 1 |
Version number of this Page Model Spec |
SPECXML |
nvarchar(max) |
|
Default = '' |
The XML of the Page Model Spec as last loaded |
DATELASTIMPORT |
datetime |
yes |
|
Date of the last import of this model. |
LASTIMPORTERROR |
nvarchar(2048) |
|
Default = '' |
If last import had an error, this is it. |
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. |
LOCKARTIFACTS |
bit |
|
Default = 1 |
Default True. If true, all CMS artifacts created by this model will be non-editable in the CMS. Use this for internal models such as Microsite and BBPay. |
Foreign Keys
Foreign Key |
Field Type |
Null |
Notes |
Description |
CLIENTSITESID |
int |
yes |
ClientSites.ID
|
The ID of the site this model was loaded into. |
ADDEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
CHANGEDBYID |
uniqueidentifier |
|
CHANGEAGENT.ID
|
FK to CHANGEAGENT. |
Indexes
Index Name |
Fields |
Unique |
Primary |
Clustered |
IX_PAGEMODEL_DATEADDED |
DATEADDED |
|
|
yes |
IX_PAGEMODEL_DATECHANGED |
DATECHANGED |
|
|
|
PK_PAGEMODEL |
ID |
yes |
yes |
|
UIX_PAGEMODEL_MODELID_CLIENTSITESID |
MODELID, CLIENTSITESID |
yes |
|
|
Triggers
Referenced by