| Primary Key | Field Type |
|---|---|
ID |
uniqueidentifier |
| 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 | ![]() |
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) | ![]() |
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 Key | Field Type | Null | Notes | Description |
|---|---|---|---|---|
CLIENTSITESID |
int | ![]() |
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. |
| Index Name | Field(s) | Unique | Primary | Clustered |
|---|---|---|---|---|
IX_PAGEMODEL_DATEADDED |
DATEADDED | ![]() |
||
IX_PAGEMODEL_DATECHANGED |
DATECHANGED | |||
PK_PAGEMODEL |
ID | ![]() |
![]() |
|
UIX_PAGEMODEL_MODELID_CLIENTSITESID |
MODELID, CLIENTSITESID | ![]() |
| Trigger Name | Description |
|---|---|
TR_PAGEMODEL_AUDIT_UPDATE |
|
TR_PAGEMODEL_AUDIT_DELETE |
| Referenced by | Field |
|---|---|
PAGEMODELITEM |
PAGEMODELID |

ID
MODELNAME
TSLONG
CLIENTSITESID
IX_PAGEMODEL_DATEADDED
IX_PAGEMODEL_DATECHANGED