feat: add institution
This commit is contained in:
parent
4bf24dd602
commit
1290fb748e
2 changed files with 36 additions and 4 deletions
|
|
@ -982,7 +982,7 @@ model WorkflowTemplateStepInstitution {
|
|||
|
||||
group String
|
||||
|
||||
workflowTemplateStep WorkflowTemplateStep @relation(fields: [workflowTemplateStepId], references: [id])
|
||||
workflowTemplateStep WorkflowTemplateStep @relation(fields: [workflowTemplateStepId], references: [id], onDelete: Cascade)
|
||||
workflowTemplateStepId String
|
||||
}
|
||||
|
||||
|
|
@ -997,7 +997,7 @@ model WorkflowTemplateStep {
|
|||
responsiblePerson WorkflowTemplateStepUser[]
|
||||
responsibleInstitution WorkflowTemplateStepInstitution[]
|
||||
|
||||
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id])
|
||||
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id], onDelete: Cascade)
|
||||
workflowTemplateId String?
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue