CREATE TABLE [dbo].[ATDocumentArc] (
    [DocumentId]    INT            NOT NULL,
    [DocumentName]  NVARCHAR (255) NULL,
    [ContentTypeId] INT            NULL,
    [WorkItemId]    INT            NOT NULL,
    [DocumentSize]  INT            NOT NULL,
    [Document]      TEXT           NULL,
    [DocumentLink]  NVARCHAR (255) NULL,
    [UserName]      NVARCHAR (255) NULL,
    [LastModified]  DATETIME       NULL,
    CONSTRAINT [PK_ATDocumentArc] PRIMARY KEY NONCLUSTERED ([DocumentId] ASC)
);

