CREATE TABLE [dbo].[ATHistory] (
    [HistoryId]         INT            NOT NULL,
    [TransactionType]   INT            NOT NULL,
    [DateOfTransaction] DATETIME       NOT NULL,
    [UserName]          NVARCHAR (255) NOT NULL,
    [WorkItemName]      NVARCHAR (255) NOT NULL,
    [WorkItemId]        INT            NOT NULL,
    CONSTRAINT [PK_ATHistory] PRIMARY KEY NONCLUSTERED ([HistoryId] ASC)
);

