@creator.co/creatorco-prisma-client 1.0.64-alpha-499941e → 1.0.64-alpha-86f6413

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.64-alpha-499941e",
82
+ "version": "1.0.64-alpha-86f6413",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -362,6 +362,7 @@ model Brand {
362
362
  productLists ProductList[]
363
363
  brandContracts BrandContract[]
364
364
  files File[]
365
+ creditRefundBatches CreditRefundBatch[]
365
366
 
366
367
  // for agencies
367
368
  parentBrandId Int?
@@ -1670,6 +1671,9 @@ model CreditRefundBatch {
1670
1671
  id Int @id @default(autoincrement())
1671
1672
  createdAt DateTime @default(now()) @map("created_at")
1672
1673
  closedAt DateTime? @map("closed_at")
1674
+ brandId Int
1675
+
1676
+ brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
1673
1677
 
1674
1678
  profiles SocialProfile[]
1675
1679
 
package/wasm.js CHANGED
@@ -1092,7 +1092,8 @@ exports.Prisma.FileScalarFieldEnum = {
1092
1092
  exports.Prisma.CreditRefundBatchScalarFieldEnum = {
1093
1093
  id: 'id',
1094
1094
  createdAt: 'createdAt',
1095
- closedAt: 'closedAt'
1095
+ closedAt: 'closedAt',
1096
+ brandId: 'brandId'
1096
1097
  };
1097
1098
 
1098
1099
  exports.Prisma.SortOrder = {