@creator.co/creatorco-prisma-client 1.0.47-alpha-e6ce134 → 1.0.48

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.47-alpha-e6ce134",
82
+ "version": "1.0.48",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -1461,10 +1461,10 @@ model CampaignToShopifyProduct {
1461
1461
  }
1462
1462
 
1463
1463
  model ShopifyDiscountCode {
1464
- id Int @id @default(autoincrement())
1465
- code String @unique
1466
- shopifyDiscountCodeId Int? @unique @map("shopify_discount_code_id")
1467
- shopifyPriceRuleId Int? @map("price_rule_id")
1464
+ id Int @id @default(autoincrement())
1465
+ code String @unique
1466
+ shopifyDiscountCodeId Int? @unique @map("shopify_discount_code_id")
1467
+ shopifyPriceRuleId BigInt? @map("price_rule_id")
1468
1468
 
1469
1469
  optInId Int @map("optin_id")
1470
1470
 
@@ -1476,10 +1476,11 @@ model ShopifyDiscountCode {
1476
1476
  }
1477
1477
 
1478
1478
  model ShopifySale {
1479
- id Int @id @default(autoincrement())
1479
+ id Int @id @default(autoincrement())
1480
1480
  amount Float
1481
- metaData Json? @map("meta_data")
1482
- discountCodeId Int @map("discount_code_id")
1481
+ metaData Json? @map("meta_data")
1482
+ discountCodeId Int @map("discount_code_id")
1483
+ created DateTime @default(now())
1483
1484
 
1484
1485
  discountCode ShopifyDiscountCode @relation(fields: [discountCodeId], references: [id], onDelete: Cascade)
1485
1486
 
package/wasm.js CHANGED
@@ -993,7 +993,8 @@ exports.Prisma.ShopifySaleScalarFieldEnum = {
993
993
  id: 'id',
994
994
  amount: 'amount',
995
995
  metaData: 'metaData',
996
- discountCodeId: 'discountCodeId'
996
+ discountCodeId: 'discountCodeId',
997
+ created: 'created'
997
998
  };
998
999
 
999
1000
  exports.Prisma.SortOrder = {