@bash-app/bash-common 29.14.5 → 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 +18 -20
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -238,9 +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
|
|
242
|
-
venue
|
|
243
|
-
|
|
241
|
+
venueId String? // Nullable, meaning it's optional
|
|
242
|
+
venue Venue? @relation(fields: [venueId], references: [id])
|
|
244
243
|
}
|
|
245
244
|
|
|
246
245
|
model Coordinates {
|
|
@@ -597,21 +596,20 @@ enum Privacy {
|
|
|
597
596
|
}
|
|
598
597
|
|
|
599
598
|
model TargetAudience {
|
|
600
|
-
id
|
|
601
|
-
ageRange
|
|
602
|
-
secondaryAgeRange
|
|
603
|
-
gender
|
|
604
|
-
secondaryGender
|
|
605
|
-
occupation
|
|
599
|
+
id String @id @default(cuid())
|
|
600
|
+
ageRange AgeRange[]
|
|
601
|
+
secondaryAgeRange AgeRange[]
|
|
602
|
+
gender Gender[]
|
|
603
|
+
secondaryGender Gender[]
|
|
604
|
+
occupation Occupation[]
|
|
606
605
|
secondaryOccupation Occupation[]
|
|
607
|
-
education
|
|
608
|
-
secondaryEducation
|
|
609
|
-
showOnDetailPage
|
|
610
|
-
bashEvent
|
|
611
|
-
service
|
|
606
|
+
education Education[]
|
|
607
|
+
secondaryEducation Education[]
|
|
608
|
+
showOnDetailPage Boolean @default(true)
|
|
609
|
+
bashEvent BashEvent?
|
|
610
|
+
service Service?
|
|
612
611
|
}
|
|
613
612
|
|
|
614
|
-
|
|
615
613
|
enum AgeRange {
|
|
616
614
|
Sixteen_17
|
|
617
615
|
Eighteen_20
|
|
@@ -1103,10 +1101,10 @@ model Venue {
|
|
|
1103
1101
|
capacity Int?
|
|
1104
1102
|
trademark Boolean?
|
|
1105
1103
|
manager Boolean?
|
|
1106
|
-
allowed
|
|
1107
|
-
notAllowed
|
|
1108
|
-
vibe
|
|
1109
|
-
dress
|
|
1104
|
+
allowed String?
|
|
1105
|
+
notAllowed String?
|
|
1106
|
+
vibe String?
|
|
1107
|
+
dress String?
|
|
1110
1108
|
|
|
1111
1109
|
bashEvents BashEvent[]
|
|
1112
1110
|
}
|
|
@@ -1281,7 +1279,7 @@ model VerificationToken {
|
|
|
1281
1279
|
|
|
1282
1280
|
model ServiceLink {
|
|
1283
1281
|
id String @id @default(cuid())
|
|
1284
|
-
serviceId String
|
|
1282
|
+
serviceId String
|
|
1285
1283
|
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1286
1284
|
linkId String
|
|
1287
1285
|
link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)
|