﻿CREATE TABLE [dbo].[fis_widget_subscriptions] (
    [uid]           BIGINT       IDENTITY (1, 1) NOT NULL,
    [account]       VARCHAR (50) NOT NULL,
    [person_guid]   VARCHAR (36) NOT NULL,
    [widget_name]   VARCHAR (50) NOT NULL,
    [display_order] INT          CONSTRAINT [DF_fis_widget_subscriptions_display_order] DEFAULT ((0)) NOT NULL,
    [DateCreated]   DATETIME     CONSTRAINT [DF_fis_widget_subscriptions_DateCreated] DEFAULT (getutcdate()) NOT NULL,
    [UserCreated]   VARCHAR (36) CONSTRAINT [DF_fis_widget_subscriptions_UserCreated] DEFAULT ('') NOT NULL,
    CONSTRAINT [PK_fis_widget_subscriptions] PRIMARY KEY CLUSTERED ([uid] ASC)
);

