Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 CONSTITUENTID uniqueidentifier The image owner constituent id.
 EVENTID uniqueidentifier
 MESSAGE nvarchar(4000)   Default = ''
 SOCIALNETWORKCODE tinyint   Default = 0 type that references the social network that was updated
 SOCIALNETWORK nvarchar(8) (Computed) CASE [SOCIALNETWORKCODE] WHEN 0 THEN N'None' WHEN 1 THEN N'Facebook' WHEN 2 THEN N'Twitter' END Provides a translation for the 'SOCIALNETWORKCODE' field.
 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.

Foreign Key Field Type Null Notes Description
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_USR_SOCIALNETWORKSTATUSUPDATELOG_DATEADDED DATEADDED    
 IX_USR_SOCIALNETWORKSTATUSUPDATELOG_DATECHANGED DATECHANGED      
 PK_USR_SOCIALNETWORKSTATUSUPDATELOG ID  

Trigger Name Description
 TR_USR_SOCIALNETWORKSTATUSUPDATELOG_AUDIT_UPDATE
 TR_USR_SOCIALNETWORKSTATUSUPDATELOG_AUDIT_DELETE