@creator.co/creatorco-prisma-client 1.0.79 → 1.0.80

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
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "./*": "./*"
94
94
  },
95
- "version": "1.0.79",
95
+ "version": "1.0.80",
96
96
  "sideEffects": false,
97
97
  "description": "Prisma client for creatorco Database"
98
98
  }
package/schema.prisma CHANGED
@@ -326,9 +326,9 @@ model BrandUserProfile {
326
326
 
327
327
  model Brand {
328
328
  id Int @id @default(autoincrement())
329
- name String
329
+ name String @unique
330
330
  description String? @db.Text
331
- website String
331
+ website String?
332
332
  monthlyContacts Int?
333
333
  monthlyReports Int?
334
334
  lastContactDistribution DateTime?
@@ -336,6 +336,7 @@ model Brand {
336
336
  affiliateBaseUrl String? @db.VarChar(2083)
337
337
  affiliateCommission Float?
338
338
  extraData Json @default("{}")
339
+ idmId String? @unique
339
340
 
340
341
  specialistId Int?
341
342
  dedicatedSpecialist User? @relation(fields: [specialistId], references: [id])
package/wasm.js CHANGED
@@ -321,6 +321,7 @@ exports.Prisma.BrandScalarFieldEnum = {
321
321
  affiliateBaseUrl: 'affiliateBaseUrl',
322
322
  affiliateCommission: 'affiliateCommission',
323
323
  extraData: 'extraData',
324
+ idmId: 'idmId',
324
325
  specialistId: 'specialistId',
325
326
  parentBrandId: 'parentBrandId',
326
327
  searchName: 'searchName'
@@ -1300,6 +1301,7 @@ exports.Prisma.BrandOrderByRelevanceFieldEnum = {
1300
1301
  website: 'website',
1301
1302
  logoUrl: 'logoUrl',
1302
1303
  affiliateBaseUrl: 'affiliateBaseUrl',
1304
+ idmId: 'idmId',
1303
1305
  searchName: 'searchName'
1304
1306
  };
1305
1307