feat: add workflow to service

This commit is contained in:
Methapon Metanipat 2024-10-10 12:03:40 +07:00
parent a583e6a3ce
commit a06be541a8
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "Service" ADD COLUMN "workflowTemplateId" TEXT;
-- AddForeignKey
ALTER TABLE "Service" ADD CONSTRAINT "Service_workflowTemplateId_fkey" FOREIGN KEY ("workflowTemplateId") REFERENCES "WorkflowTemplate"("id") ON DELETE SET NULL ON UPDATE CASCADE;