@bash-app/bash-common 29.4.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 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -235,9 +235,18 @@ model BashEvent {
|
|
|
235
235
|
subtitle String?
|
|
236
236
|
isFeatured Boolean?
|
|
237
237
|
isTrending Boolean?
|
|
238
|
+
coordinates Coordinates[] // A BashEvent can have multiple sets of coordinates
|
|
238
239
|
// stripeAccount StripeAccount[]
|
|
239
240
|
}
|
|
240
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
|
+
|
|
241
250
|
model Checkout {
|
|
242
251
|
id String @id @default(cuid())
|
|
243
252
|
ownerId String
|