@creator.co/creatorco-prisma-client 1.0.15-alpha-fc80dfc → 1.0.15-alpha-2abb938

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
@@ -5,5 +5,5 @@
5
5
  "browser": "index-browser.js",
6
6
  "sideEffects": false,
7
7
  "description": "Prisma client for creatorco Database",
8
- "version": "1.0.15-alpha-fc80dfc"
8
+ "version": "1.0.15-alpha-2abb938"
9
9
  }
package/schema.prisma CHANGED
@@ -295,7 +295,6 @@ model BrandUserProfile {
295
295
  id Int @id @default(autoincrement())
296
296
  userId Int
297
297
  brandId Int
298
- xpto Int
299
298
 
300
299
  user User @relation(fields: [userId], references: [id], onDelete: Cascade)
301
300
  brand Brand @relation(fields: [brandId], references: [id], onDelete: Cascade)
@@ -747,7 +746,14 @@ model SocialPost {
747
746
 
748
747
  socialPostTags SocialPostTag[]
749
748
 
749
+ @@index(campaignId)
750
750
  @@index(isStale)
751
+ @@index(userId)
752
+ @@index(platform)
753
+ @@index(type)
754
+ @@index(format)
755
+ @@index(posted)
756
+
751
757
  @@map("socialpost")
752
758
  }
753
759
 
@@ -983,6 +989,7 @@ model SocialProfile {
983
989
  user User? @relation(fields: [userId], references: [id])
984
990
 
985
991
  @@index(username)
992
+ @@index(userId)
986
993
  @@map("socialprofile")
987
994
  }
988
995