Primary Key Field Type
 ID uniqueidentifier

Field Field Type Null Notes Description
 WIDGETID int   FK to WIDGETGALLERY
 DISPLAYTEXT nvarchar(4000)   Default = '' Display Text
 ISACTIVE bit   Default = 0 Team Captain can Enable or Disable Widget
 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
 TEAMFUNDRAISINGTEAMID uniqueidentifier   TEAMFUNDRAISINGTEAM.ID FK to TEAMFUNDRAISINGTEAM
 ADDEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.
 CHANGEDBYID uniqueidentifier   CHANGEAGENT.ID FK to CHANGEAGENT.

Index Name Field(s) Unique Primary Clustered
 IX_TEAMWIDGET_DATEADDED DATEADDED    
 IX_TEAMWIDGET_DATECHANGED DATECHANGED      
 PK_TEAMWIDGET ID  
 UIX_TEAMWIDGET_WIDGETID_TEAMFUNDRAISINGTEAMID WIDGETID, TEAMFUNDRAISINGTEAMID    

Trigger Name Description
 TR_TEAMWIDGET_AUDIT_UPDATE
 TR_TEAMWIDGET_AUDIT_DELETE

Referenced by Field
 WIDGETEXTENSION TEAMWIDGETID

Entity-Relationship diagram of this table