@creator.co/creatorco-prisma-client 1.0.40 → 1.0.41

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.40",
82
+ "version": "1.0.41",
83
83
  "sideEffects": false,
84
84
  "description": "Prisma client for creatorco Database"
85
85
  }
package/schema.prisma CHANGED
@@ -823,10 +823,9 @@ model OptInVariable {
823
823
 
824
824
  model SocialPost {
825
825
  id Int @id @default(autoincrement())
826
- externalId String? @map("external_id") // TODO: This should be required once all of the posts have been updated
826
+ externalId String @map("external_id")
827
827
  phylloId String? @unique
828
828
  metaData Json @default("{}")
829
- data Json @default("{}") // DEPRECATED, USE metaData instead, seems to be an error when attempting to remove this field, proabably due to table size
830
829
  lastFetched DateTime?
831
830
  lastWebhook DateTime?
832
831
 
@@ -835,7 +834,6 @@ model SocialPost {
835
834
  title String? @db.Text
836
835
  description String? @db.Text
837
836
  url String? @db.VarChar(2083)
838
- urlPath String? @unique // DEPRECATED: This is here so we have some external identifier to quickly search by
839
837
  format String?
840
838
  type String?
841
839
  platform String?
package/wasm.js CHANGED
@@ -586,14 +586,12 @@ exports.Prisma.SocialPostScalarFieldEnum = {
586
586
  externalId: 'externalId',
587
587
  phylloId: 'phylloId',
588
588
  metaData: 'metaData',
589
- data: 'data',
590
589
  lastFetched: 'lastFetched',
591
590
  lastWebhook: 'lastWebhook',
592
591
  posted: 'posted',
593
592
  title: 'title',
594
593
  description: 'description',
595
594
  url: 'url',
596
- urlPath: 'urlPath',
597
595
  format: 'format',
598
596
  type: 'type',
599
597
  platform: 'platform',
@@ -1179,7 +1177,6 @@ exports.Prisma.SocialPostOrderByRelevanceFieldEnum = {
1179
1177
  title: 'title',
1180
1178
  description: 'description',
1181
1179
  url: 'url',
1182
- urlPath: 'urlPath',
1183
1180
  format: 'format',
1184
1181
  type: 'type',
1185
1182
  platform: 'platform',