feat: add field for storing institution
This commit is contained in:
parent
8e9ef01ae3
commit
4bf24dd602
1 changed files with 16 additions and 6 deletions
|
|
@ -977,6 +977,15 @@ model WorkflowTemplate {
|
||||||
service Service[]
|
service Service[]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
model WorkflowTemplateStepInstitution {
|
||||||
|
id String @id @default(cuid())
|
||||||
|
|
||||||
|
group String
|
||||||
|
|
||||||
|
workflowTemplateStep WorkflowTemplateStep @relation(fields: [workflowTemplateStepId], references: [id])
|
||||||
|
workflowTemplateStepId String
|
||||||
|
}
|
||||||
|
|
||||||
model WorkflowTemplateStep {
|
model WorkflowTemplateStep {
|
||||||
id String @id @default(cuid())
|
id String @id @default(cuid())
|
||||||
|
|
||||||
|
|
@ -986,6 +995,7 @@ model WorkflowTemplateStep {
|
||||||
type String?
|
type String?
|
||||||
value WorkflowTemplateStepValue[] // NOTE: For enum or options type
|
value WorkflowTemplateStepValue[] // NOTE: For enum or options type
|
||||||
responsiblePerson WorkflowTemplateStepUser[]
|
responsiblePerson WorkflowTemplateStepUser[]
|
||||||
|
responsibleInstitution WorkflowTemplateStepInstitution[]
|
||||||
|
|
||||||
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id])
|
workflowTemplate WorkflowTemplate? @relation(fields: [workflowTemplateId], references: [id])
|
||||||
workflowTemplateId String?
|
workflowTemplateId String?
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue