chore: update constraits
This commit is contained in:
parent
333a8aedee
commit
a412aef7ac
2 changed files with 6 additions and 1 deletions
|
|
@ -0,0 +1,5 @@
|
|||
-- DropForeignKey
|
||||
ALTER TABLE "WorkflowTemplateStepUser" DROP CONSTRAINT "WorkflowTemplateStepUser_workflowTemplateStepId_fkey";
|
||||
|
||||
-- AddForeignKey
|
||||
ALTER TABLE "WorkflowTemplateStepUser" ADD CONSTRAINT "WorkflowTemplateStepUser_workflowTemplateStepId_fkey" FOREIGN KEY ("workflowTemplateStepId") REFERENCES "WorkflowTemplateStep"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|
||||
Loading…
Add table
Add a link
Reference in a new issue