This commit is contained in:
Zeeshaun
2026-03-24 15:26:03 -05:00
parent 1e5beb292a
commit 9cc87337b8
333 changed files with 17931 additions and 0 deletions
@@ -0,0 +1,16 @@
CREATE TABLE [dbo].[WorkItemExecution]
(
[WorkItemExecutionId] INT NOT NULL PRIMARY KEY IDENTITY,
[WorkItemId] INT NOT NULL,
[Status] INT NOT NULL,
[StartedTimestamp] DATETIME NULL,
[CompletedTimestamp] DATETIME NULL,
[AttemptsToExecute] INT NULL
CONSTRAINT [FK_WorkItemExecution_WorkItem] FOREIGN KEY ([WorkItemId]) REFERENCES [WorkItem]([WorkItemId]),
)
GO
CREATE INDEX [idx_WorkItemExecution_WorkItemId]
ON [WorkItemExecution] ([WorkItemId])
INCLUDE ([WorkItemExecutionId], [Status], [StartedTimestamp], [CompletedTimestamp], [AttemptsToExecute])
GO