@creator.co/creatorco-prisma-client 1.0.66 → 1.0.67

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
@@ -79,7 +79,7 @@
79
79
  },
80
80
  "./*": "./*"
81
81
  },
82
- "version": "1.0.66",
82
+ "version": "1.0.67",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -1360,11 +1360,11 @@ model ImpactRadiusEvent {
1360
1360
  commission Float?
1361
1361
  metaData Json @default("{}")
1362
1362
 
1363
- userId Int
1363
+ userId Int?
1364
1364
  brandId Int?
1365
1365
  optInId Int?
1366
1366
 
1367
- user User @relation(fields: [userId], references: [id])
1367
+ user User? @relation(fields: [userId], references: [id])
1368
1368
  brand Brand? @relation(fields: [brandId], references: [id])
1369
1369
  optIn OptIn? @relation(fields: [optInId], references: [id])
1370
1370
  }
@@ -1377,11 +1377,11 @@ model CjEvent {
1377
1377
  commission Float?
1378
1378
  metaData Json @default("{}")
1379
1379
 
1380
- userId Int
1380
+ userId Int?
1381
1381
  brandId Int?
1382
1382
  optInId Int?
1383
1383
 
1384
- user User @relation(fields: [userId], references: [id])
1384
+ user User? @relation(fields: [userId], references: [id])
1385
1385
  brand Brand? @relation(fields: [brandId], references: [id])
1386
1386
  optIn OptIn? @relation(fields: [optInId], references: [id])
1387
1387