@bash-app/bash-common 21.1.0 → 21.2.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 +4 -5
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -931,8 +931,8 @@ model VolunteerService {
|
|
|
931
931
|
|
|
932
932
|
model EventService {
|
|
933
933
|
id String @id @default(cuid())
|
|
934
|
-
business Business
|
|
935
|
-
businessId String
|
|
934
|
+
business Business @relation(fields: [businessId], references: [id], onDelete: Cascade)
|
|
935
|
+
businessId String
|
|
936
936
|
eventServiceName String
|
|
937
937
|
eventServiceTypes EventServiceType[]
|
|
938
938
|
eventServiceSubType String?
|
|
@@ -1111,7 +1111,6 @@ model Sponsor {
|
|
|
1111
1111
|
additionalInfo String?
|
|
1112
1112
|
goodsOrServices String[]
|
|
1113
1113
|
menuItems String?
|
|
1114
|
-
venueTypes String[]
|
|
1115
1114
|
availableDateTimes Availability[] @relation("AvailableDateTimes")
|
|
1116
1115
|
mission String?
|
|
1117
1116
|
communityInvolvement String?
|
|
@@ -1129,7 +1128,7 @@ model Sponsor {
|
|
|
1129
1128
|
|
|
1130
1129
|
model Venue {
|
|
1131
1130
|
id String @id @default(cuid())
|
|
1132
|
-
business Business @relation(fields: [businessId], references: [id])
|
|
1131
|
+
business Business @relation(fields: [businessId], references: [id], onDelete: Cascade)
|
|
1133
1132
|
businessId String
|
|
1134
1133
|
venueName String
|
|
1135
1134
|
email String
|
|
@@ -1143,7 +1142,7 @@ model Venue {
|
|
|
1143
1142
|
media Media[]
|
|
1144
1143
|
visibility VisibilityPreference @default(Public)
|
|
1145
1144
|
status ServiceStatus @default(Draft)
|
|
1146
|
-
yearsInBusiness YearsOfExperience
|
|
1145
|
+
yearsInBusiness YearsOfExperience @default(LessThanOneYear)
|
|
1147
1146
|
description String?
|
|
1148
1147
|
serviceRangeId String @unique
|
|
1149
1148
|
serviceRange ServiceRange @relation(fields: [serviceRangeId], references: [id], onDelete: Cascade)
|