chore: update constraits
This commit is contained in:
parent
333a8aedee
commit
a412aef7ac
2 changed files with 6 additions and 1 deletions
|
|
@ -939,7 +939,7 @@ model WorkflowTemplateStepUser {
|
|||
userId String
|
||||
user User @relation(fields: [userId], references: [id])
|
||||
|
||||
workflowTemplateStep WorkflowTemplateStep @relation(fields: [workflowTemplateStepId], references: [id])
|
||||
workflowTemplateStep WorkflowTemplateStep @relation(fields: [workflowTemplateStepId], references: [id], onDelete: Cascade)
|
||||
workflowTemplateStepId String
|
||||
|
||||
@@id([userId, workflowTemplateStepId])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue