File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
prisma/migrations/20251203163619_cascade_delete_workflowrun_deps Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 1+ -- DropForeignKey
2+ ALTER TABLE " aiWorkflowRunItem" DROP CONSTRAINT " aiWorkflowRunItem_workflowRunId_fkey" ;
3+
4+ -- DropForeignKey
5+ ALTER TABLE " aiWorkflowRunItemComment" DROP CONSTRAINT " aiWorkflowRunItemComment_workflowRunItemId_fkey" ;
6+
7+ -- AddForeignKey
8+ ALTER TABLE " aiWorkflowRunItem" ADD CONSTRAINT " aiWorkflowRunItem_workflowRunId_fkey" FOREIGN KEY (" workflowRunId" ) REFERENCES " aiWorkflowRun" (" id" ) ON DELETE CASCADE ON UPDATE CASCADE;
9+
10+ -- AddForeignKey
11+ ALTER TABLE " aiWorkflowRunItemComment" ADD CONSTRAINT " aiWorkflowRunItemComment_workflowRunItemId_fkey" FOREIGN KEY (" workflowRunItemId" ) REFERENCES " aiWorkflowRunItem" (" id" ) ON DELETE CASCADE ON UPDATE CASCADE;
You can’t perform that action at this time.
0 commit comments