mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 22:18:12 +00:00
Merge pull request #746 from Tria-plc/alpha
Add seat block schedule id for consistency
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "SeatBlock" ADD COLUMN "scheduleId" TEXT;
|
||||||
|
|
||||||
|
-- CreateIndex
|
||||||
|
CREATE INDEX "SeatBlock_scheduleId_idx" ON "SeatBlock"("scheduleId");
|
||||||
@@ -432,8 +432,8 @@ export class PaymentsService {
|
|||||||
expiresAt: snapshot.expiresAt ? new Date(snapshot.expiresAt) : null,
|
expiresAt: snapshot.expiresAt ? new Date(snapshot.expiresAt) : null,
|
||||||
failureCode: snapshot.failureCode ?? null,
|
failureCode: snapshot.failureCode ?? null,
|
||||||
failureMessage: snapshot.failureMessage ?? null,
|
failureMessage: snapshot.failureMessage ?? null,
|
||||||
rawInitiation: snapshot.providerResponse
|
rawInitiation: (snapshot as any).providerResponse
|
||||||
? (snapshot.providerResponse as unknown as Prisma.InputJsonValue)
|
? ((snapshot as any).providerResponse as unknown as Prisma.InputJsonValue)
|
||||||
: Prisma.DbNull,
|
: Prisma.DbNull,
|
||||||
};
|
};
|
||||||
return this.prisma.paymentIntent.upsert({
|
return this.prisma.paymentIntent.upsert({
|
||||||
|
|||||||
Reference in New Issue
Block a user