@bash-app/bash-common 27.4.0 → 27.5.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 +7 -6
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -17,7 +17,7 @@ model Club {
|
|
|
17
17
|
street String
|
|
18
18
|
userId String
|
|
19
19
|
price Int?
|
|
20
|
-
events BashEvent[]
|
|
20
|
+
events BashEvent[]
|
|
21
21
|
members ClubMember[]
|
|
22
22
|
admin ClubAdmin[]
|
|
23
23
|
}
|
|
@@ -895,15 +895,16 @@ model AssociatedBash {
|
|
|
895
895
|
|
|
896
896
|
model Service {
|
|
897
897
|
id String @id @default(cuid())
|
|
898
|
-
//
|
|
899
|
-
//
|
|
898
|
+
// userId String
|
|
899
|
+
// user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
900
900
|
// stripeServiceCustomerId String? @unique
|
|
901
901
|
stripeBusinessId String @unique
|
|
902
902
|
// stripeBusinessType String @default("Individual")
|
|
903
|
-
serviceType
|
|
903
|
+
serviceType ServiceTypes
|
|
904
904
|
creatorId String
|
|
905
905
|
creator User @relation("CreatedService", fields: [creatorId], references: [id], onDelete: Cascade)
|
|
906
|
-
|
|
906
|
+
createdAt DateTime @default(now())
|
|
907
|
+
updatedAt DateTime @updatedAt
|
|
907
908
|
email String
|
|
908
909
|
place String?
|
|
909
910
|
street String
|
|
@@ -977,7 +978,7 @@ model VolunteerService {
|
|
|
977
978
|
address String?
|
|
978
979
|
email String?
|
|
979
980
|
phone String?
|
|
980
|
-
agreedToAgreement Boolean?
|
|
981
|
+
agreedToAgreement Boolean? @default(false)
|
|
981
982
|
description String?
|
|
982
983
|
status VolunteerServiceStatus?
|
|
983
984
|
}
|