From c8f24aec0e054b6be7186a631eee2b8a36ced40f Mon Sep 17 00:00:00 2001 From: nafees nazik Date: Tue, 28 Mar 2023 13:22:21 +0530 Subject: [PATCH] feat: add rescheduled status --- .../20230327163332_add_rescheduled_status/migration.sql | 2 ++ packages/prisma/schema.prisma | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 packages/prisma/migrations/20230327163332_add_rescheduled_status/migration.sql diff --git a/packages/prisma/migrations/20230327163332_add_rescheduled_status/migration.sql b/packages/prisma/migrations/20230327163332_add_rescheduled_status/migration.sql new file mode 100644 index 0000000000..f4cec25d95 --- /dev/null +++ b/packages/prisma/migrations/20230327163332_add_rescheduled_status/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "BookingStatus" ADD VALUE 'rescheduled'; diff --git a/packages/prisma/schema.prisma b/packages/prisma/schema.prisma index bf32aebf57..d18b9b4e1a 100644 --- a/packages/prisma/schema.prisma +++ b/packages/prisma/schema.prisma @@ -287,10 +287,11 @@ model Attendee { } enum BookingStatus { - CANCELLED @map("cancelled") - ACCEPTED @map("accepted") - REJECTED @map("rejected") - PENDING @map("pending") + CANCELLED @map("cancelled") + ACCEPTED @map("accepted") + REJECTED @map("rejected") + PENDING @map("pending") + RESCHEDULED @map("rescheduled") } model Booking {