@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/package.json CHANGED
@@ -5,5 +5,5 @@
5
5
  "browser": "index-browser.js",
6
6
  "sideEffects": false,
7
7
  "description": "Prisma client for creatorco Database",
8
- "version": "1.0.14"
8
+ "version": "1.0.15-alpha-fc80dfc"
9
9
  }
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
  }