@creator.co/creatorco-prisma-client 1.0.14 → 1.0.15-alpha-fc80dfc
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/edge.js +10 -7
- package/index-browser.js +6 -3
- package/index.d.ts +174 -4
- package/index.js +10 -7
- package/package.json +1 -1
- package/schema.prisma +3 -0
package/package.json
CHANGED
package/schema.prisma
CHANGED
|
@@ -295,6 +295,7 @@ model BrandUserProfile {
|
|
|
295
295
|
id Int @id @default(autoincrement())
|
|
296
296
|
userId Int
|
|
297
297
|
brandId Int
|
|
298
|
+
xpto Int
|
|
298
299
|
|
|
299
300
|
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
|
300
301
|
brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
|
|
@@ -342,6 +343,8 @@ model Brand {
|
|
|
342
343
|
parentBrandId Int?
|
|
343
344
|
parentBrand Brand? @relation("ChildBrands", fields: [parentBrandId], references: [id])
|
|
344
345
|
childBrands Brand[] @relation("ChildBrands")
|
|
346
|
+
// generated (for search)
|
|
347
|
+
searchName String? @default(dbgenerated())
|
|
345
348
|
|
|
346
349
|
@@map("brand")
|
|
347
350
|
}
|