@bash-app/bash-common 30.19.0 → 30.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +5 -3
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -313,7 +313,7 @@ model BashEvent {
|
|
|
313
313
|
venue Venue? @relation(fields: [venueId], references: [id])
|
|
314
314
|
userPromoCodeRedemption UserPromoCodeRedemption[]
|
|
315
315
|
averageRating Float? @default(0)
|
|
316
|
-
serviceBookings
|
|
316
|
+
serviceBookings ServiceBooking[] // Add this field to create the reverse relation
|
|
317
317
|
}
|
|
318
318
|
|
|
319
319
|
model Coordinates {
|
|
@@ -1246,7 +1246,9 @@ model Service {
|
|
|
1246
1246
|
cancellationPolicy ServiceCancellationPolicy? @default(None)
|
|
1247
1247
|
// refundPolicy String?
|
|
1248
1248
|
// insurancePolicy String?
|
|
1249
|
-
|
|
1249
|
+
availableHours String?
|
|
1250
|
+
allowsInstantBooking Boolean @default(false)
|
|
1251
|
+
instantBookingLeadTimeHours Int @default(0)
|
|
1250
1252
|
|
|
1251
1253
|
displayGoogleReviewsOnDetailPage Boolean @default(true)
|
|
1252
1254
|
displayBashReviewsOnDetailPage Boolean @default(true)
|
|
@@ -1929,7 +1931,7 @@ model ServiceBooking {
|
|
|
1929
1931
|
daysTotalATBCents Int //ATB=At Time of Booking
|
|
1930
1932
|
totalATBCents Int
|
|
1931
1933
|
|
|
1932
|
-
|
|
1934
|
+
bashEventId String?
|
|
1933
1935
|
bashEvent BashEvent? @relation(fields: [bashEventId], references: [id])
|
|
1934
1936
|
|
|
1935
1937
|
@@index([status])
|