@creator.co/creatorco-prisma-client 1.0.38 → 1.0.39

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.38",
82
+ "version": "1.0.39",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -563,13 +563,14 @@ model CampaignToImage {
563
563
  }
564
564
 
565
565
  model CampaignToBrandAffiliateLink {
566
- id Int @id @default(autoincrement())
567
566
  campaignId Int
568
567
  brandAffiliateLinkId Int
569
568
 
570
569
  campaign Campaign @relation(fields: [campaignId], references: [id], onDelete: Cascade)
571
570
  brandAffiliateLink BrandAffiliateLink @relation(fields: [brandAffiliateLinkId], references: [id], onDelete: Cascade)
572
571
 
572
+ @@id([campaignId, brandAffiliateLinkId])
573
+ @@index([brandAffiliateLinkId])
573
574
  @@map("campaigntobrandaffiliatelink")
574
575
  }
575
576
 
package/wasm.js CHANGED
@@ -449,7 +449,6 @@ exports.Prisma.CampaignToImageScalarFieldEnum = {
449
449
  };
450
450
 
451
451
  exports.Prisma.CampaignToBrandAffiliateLinkScalarFieldEnum = {
452
- id: 'id',
453
452
  campaignId: 'campaignId',
454
453
  brandAffiliateLinkId: 'brandAffiliateLinkId'
455
454
  };