@bash-app/bash-common 20.5.1 → 20.5.2
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 +3 -4
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -337,11 +337,10 @@ enum UserSubscriptionType {
|
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
model SubServiceSubscription {
|
|
340
|
-
id String
|
|
340
|
+
id String @id @default(cuid())
|
|
341
341
|
ownerId String
|
|
342
|
-
owner User
|
|
343
|
-
|
|
344
|
-
slots Int @default(0)
|
|
342
|
+
owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
|
|
343
|
+
slots Int @default(0)
|
|
345
344
|
stripeSubscriptionId String?
|
|
346
345
|
}
|
|
347
346
|
|