@bash-app/bash-common 25.2.0 → 25.3.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 +5 -3
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -795,6 +795,7 @@ model User {
|
|
|
795
795
|
createdOn DateTime @default(now())
|
|
796
796
|
stripeCustomerId String? @unique
|
|
797
797
|
stripeAccountId String? @unique
|
|
798
|
+
isSuperUser Boolean @default(false)
|
|
798
799
|
googleCalendarAccess String?
|
|
799
800
|
givenName String?
|
|
800
801
|
familyName String?
|
|
@@ -888,8 +889,9 @@ model Business {
|
|
|
888
889
|
id String @id @default(cuid())
|
|
889
890
|
ownerId String
|
|
890
891
|
owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
|
|
891
|
-
stripeServiceCustomerId String? @unique
|
|
892
|
-
stripeBusinessId String
|
|
892
|
+
// stripeServiceCustomerId String? @unique
|
|
893
|
+
stripeBusinessId String @unique
|
|
894
|
+
businessType String @default("Individual")
|
|
893
895
|
dateCreated DateTime @default(now())
|
|
894
896
|
email String
|
|
895
897
|
street String
|
|
@@ -1444,4 +1446,4 @@ enum ServiceTypes {
|
|
|
1444
1446
|
Sponsors
|
|
1445
1447
|
Venues
|
|
1446
1448
|
Organizations
|
|
1447
|
-
}
|
|
1449
|
+
}
|