Tables [dbo].[RSM_Notifications]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapTrue
Row Count (~)0
Created12:58:53 AM Thursday, March 21, 2019
Last Modified1:14:05 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Primary Key PK_RSM_Notifications: NotificationIDNotificationIDint4
False
1 - 1
Foreign Keys FK_RSM_Notifications_AgentID_ShAgents: [dbo].[ShAgents].AgentIDAgentIDint4
False
Sourcevarchar(64)64
False
SourceIDint4
True
TypeNamevarchar(64)64
False
TypeDescriptionvarchar(128)128
False
Messagevarchar(1024)1024
False
LinkedEntityIDint4
True
LinkedEntityTypevarchar(32)32
True
ExpirationDatedatetime8
True
Unreadbit1
False
((1))
Dismissedbit1
False
((0))
DismissedDatedatetime8
True
KeyNameKey ColumnsUniqueFill Factor
Primary Key PK_RSM_Notifications: NotificationIDPK_RSM_NotificationsNotificationID
True
80
NameColumns
FK_RSM_Notifications_AgentID_ShAgentsAgentID->[dbo].[ShAgents].[AgentID]
CREATE TABLE [dbo].[RSM_Notifications]
(
[NotificationID] [int] NOT NULL IDENTITY(1, 1),
[AgentID] [int] NOT NULL,
[Source] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SourceID] [int] NULL,
[TypeName] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TypeDescription] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Message] [varchar] (1024) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LinkedEntityID] [int] NULL,
[LinkedEntityType] [varchar] (32) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[ExpirationDate] [datetime] NULL,
[Unread] [bit] NOT NULL CONSTRAINT [DF_RSM_Notifications_Unread] DEFAULT ((1)),
[Dismissed] [bit] NOT NULL CONSTRAINT [DF_RSM_Notifications_Dismissed] DEFAULT ((0)),
[DismissedDate] [datetime] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RSM_Notifications] ADD CONSTRAINT [PK_RSM_Notifications] PRIMARY KEY NONCLUSTERED  ([NotificationID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[RSM_Notifications] ADD CONSTRAINT [FK_RSM_Notifications_AgentID_ShAgents] FOREIGN KEY ([AgentID]) REFERENCES [dbo].[ShAgents] ([AgentID])
GO