Fixes that workflow reminders of cancelled and rescheduled bookings are still sent (#7232)
* small UI fix * fix cancelling scheduled emails * improve comments * delete reminders for rescheduled bookings * add migration file * cancel rescheduled bookings immediately * remove immediate delete for request reschedule --------- Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
235ec0e906
commit
2ebfcf448c
10 files changed
+241
-203
No files matched your search
+2
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "WorkflowReminder" ADD COLUMN "cancelled" BOOLEAN;
|
||||
@@ -641,6 +641,7 @@ model WorkflowReminder {
|
||||
scheduled Boolean
|
||||
workflowStepId Int
|
||||
workflowStep WorkflowStep @relation(fields: [workflowStepId], references: [id], onDelete: Cascade)
|
||||
cancelled Boolean?
|
||||
}
|
||||
|
||||
enum WorkflowTemplates {
|
||||
|
||||
Reference in new issue
Block a user