Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 NAME nvarchar(256)   Default = '' Label/name of the image.
 DESCRIPTION nvarchar(256)   Default = '' Description of the image.
 CAPTION nvarchar(256)   Default = ''
 PRIVATE bit   Default = 0 Flag images only viewable by the participant.
 SORTORDER int   Default = 0 Order the items should be displayed.
 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
 CONSTITUENTID uniqueidentifier   CONSTITUENT.LOCALID The image owner constituent id
 EVENTID uniqueidentifier EVENT.ID The event id related to this Image
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 SITEIMAGESID int   SiteImages.ID FK to SITEIMAGES

Index Name Field(s) Unique Primary Clustered
 IX_FAFPARTICIPANTGALLERYIMAGES_CONSTITUENTID CONSTITUENTID      
 IX_FAFPARTICIPANTGALLERYIMAGES_DATEADDED DATEADDED    
 IX_FAFPARTICIPANTGALLERYIMAGES_DATECHANGED DATECHANGED      
 PK_FAFPARTICIPANTGALLERYIMAGES ID  

Trigger Name Description
 TR_FAFPARTICIPANTGALLERYIMAGES_AUDIT_UPDATE
 TR_FAFPARTICIPANTGALLERYIMAGES_AUDIT_DELETE

Entity-Relationship diagram of this table