@bash-app/bash-common 29.14.4 → 29.15.5
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 +20 -13
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -238,6 +238,8 @@ model BashEvent {
|
|
|
238
238
|
coordinates Coordinates[] // A BashEvent can have multiple sets of coordinates
|
|
239
239
|
// stripeAccount StripeAccount[]
|
|
240
240
|
rate Rate[]
|
|
241
|
+
venueId String? // Nullable, meaning it's optional
|
|
242
|
+
venue Venue? @relation(fields: [venueId], references: [id])
|
|
241
243
|
}
|
|
242
244
|
|
|
243
245
|
model Coordinates {
|
|
@@ -594,21 +596,20 @@ enum Privacy {
|
|
|
594
596
|
}
|
|
595
597
|
|
|
596
598
|
model TargetAudience {
|
|
597
|
-
id
|
|
598
|
-
ageRange
|
|
599
|
-
secondaryAgeRange
|
|
600
|
-
gender
|
|
601
|
-
secondaryGender
|
|
602
|
-
occupation
|
|
599
|
+
id String @id @default(cuid())
|
|
600
|
+
ageRange AgeRange[]
|
|
601
|
+
secondaryAgeRange AgeRange[]
|
|
602
|
+
gender Gender[]
|
|
603
|
+
secondaryGender Gender[]
|
|
604
|
+
occupation Occupation[]
|
|
603
605
|
secondaryOccupation Occupation[]
|
|
604
|
-
education
|
|
605
|
-
secondaryEducation
|
|
606
|
-
showOnDetailPage
|
|
607
|
-
bashEvent
|
|
608
|
-
service
|
|
606
|
+
education Education[]
|
|
607
|
+
secondaryEducation Education[]
|
|
608
|
+
showOnDetailPage Boolean @default(true)
|
|
609
|
+
bashEvent BashEvent?
|
|
610
|
+
service Service?
|
|
609
611
|
}
|
|
610
612
|
|
|
611
|
-
|
|
612
613
|
enum AgeRange {
|
|
613
614
|
Sixteen_17
|
|
614
615
|
Eighteen_20
|
|
@@ -1100,6 +1101,12 @@ model Venue {
|
|
|
1100
1101
|
capacity Int?
|
|
1101
1102
|
trademark Boolean?
|
|
1102
1103
|
manager Boolean?
|
|
1104
|
+
allowed String?
|
|
1105
|
+
notAllowed String?
|
|
1106
|
+
vibe String?
|
|
1107
|
+
dress String?
|
|
1108
|
+
|
|
1109
|
+
bashEvents BashEvent[]
|
|
1103
1110
|
}
|
|
1104
1111
|
|
|
1105
1112
|
model Organization {
|
|
@@ -1272,7 +1279,7 @@ model VerificationToken {
|
|
|
1272
1279
|
|
|
1273
1280
|
model ServiceLink {
|
|
1274
1281
|
id String @id @default(cuid())
|
|
1275
|
-
serviceId String
|
|
1282
|
+
serviceId String
|
|
1276
1283
|
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1277
1284
|
linkId String
|
|
1278
1285
|
link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)
|