fix(workflows): refer by id in model

This commit is contained in:
Gregor Kleen 2020-05-08 15:18:39 +02:00
parent 8943c3e3bf
commit 94f78a07d9

View File

@ -5,7 +5,7 @@ WorkflowDefinition
UniqueWorkflowDefinition name scope UniqueWorkflowDefinition name scope
WorkflowInstance WorkflowInstance
definition WorkflowDefinition definition WorkflowDefinitionId
graph (WorkflowGraph SqlBackendKey SqlBackendKey) -- FileId, UserId graph (WorkflowGraph SqlBackendKey SqlBackendKey) -- FileId, UserId
scope (WorkflowInstanceScope SqlBackendKey SqlBackendKey SqlBackendKey) -- TermId, SchoolId, CourseId scope (WorkflowInstanceScope SqlBackendKey SqlBackendKey SqlBackendKey) -- TermId, SchoolId, CourseId
name (CI Text) name (CI Text)
@ -13,7 +13,7 @@ WorkflowInstance
UniqueWorkflowInstance name scope UniqueWorkflowInstance name scope
WorkflowWorkflow WorkflowWorkflow
instance WorkflowInstance instance WorkflowInstanceId
graph (WorkflowGraph SqlBackendKey SqlBackendKey) -- FileId, UserId graph (WorkflowGraph SqlBackendKey SqlBackendKey) -- FileId, UserId
initUser UserId Maybe initUser UserId Maybe
initTime UTCTime initTime UTCTime