USE [EnVisage] GO /****** Object: Table [dbo].[Notification] Script Date: 12/16/2015 1:30:25 PM ******/ if exists (select * from sys.all_objects where object_id = OBJECT_ID('Notification') and type = 'U') begin DROP TABLE [dbo].[Notification] end GO /****** Object: Table [dbo].[Notification] Script Date: 12/16/2015 1:30:25 PM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Notification]( [Id] [uniqueidentifier] NOT NULL, [ParentId] [uniqueidentifier] NULL, [Description] [nvarchar](200) NOT NULL, [Title] [nvarchar](50) NOT NULL, [Link] [nvarchar](max) NULL, [NotificationGroup] [int] NOT NULL, [NotificationType] [int] NOT NULL, [NotificationDate] [datetime] NOT NULL, [NotificationViewed] [bit] NOT NULL, CONSTRAINT [PK_Notification] PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] GO