@bash-app/bash-common 29.5.0 → 29.6.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 +9 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -235,10 +235,18 @@ model BashEvent {
|
|
|
235
235
|
subtitle String?
|
|
236
236
|
isFeatured Boolean?
|
|
237
237
|
isTrending Boolean?
|
|
238
|
-
coordinates
|
|
238
|
+
coordinates Coordinates[] // A BashEvent can have multiple sets of coordinates
|
|
239
239
|
// stripeAccount StripeAccount[]
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
model Coordinates {
|
|
243
|
+
id Int @id @default(autoincrement())
|
|
244
|
+
lat Float?
|
|
245
|
+
lng Float?
|
|
246
|
+
bashEventId String? // Foreign key to BashEvent, now of type String
|
|
247
|
+
bashEvent BashEvent? @relation(fields: [bashEventId], references: [id])
|
|
248
|
+
}
|
|
249
|
+
|
|
242
250
|
model Checkout {
|
|
243
251
|
id String @id @default(cuid())
|
|
244
252
|
ownerId String
|