fix: updatedAt routing form response migration (#20660)
This commit is contained in:
+1
-1
@@ -5,4 +5,4 @@
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "App_RoutingForms_FormResponse" ADD COLUMN "updatedAt" TIMESTAMP(3) NOT NULL;
|
||||
ALTER TABLE "App_RoutingForms_FormResponse" ADD COLUMN "updatedAt" TIMESTAMP(3);
|
||||
|
||||
@@ -1067,7 +1067,7 @@ model App_RoutingForms_FormResponse {
|
||||
formId String
|
||||
response Json
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
updatedAt DateTime? @updatedAt
|
||||
|
||||
routedToBookingUid String? @unique
|
||||
// We should not cascade delete the booking, because we want to keep the form response even if the routedToBooking is deleted
|
||||
|
||||
Reference in New Issue
Block a user