@creator.co/creatorco-prisma-client 1.0.15-alpha-fc80dfc → 1.0.15-alpha-9e76a4a
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/edge.js +5 -6
- package/index-browser.js +1 -2
- package/index.d.ts +2 -47
- package/index.js +5 -6
- package/package.json +1 -1
- package/schema.prisma +7 -1
package/package.json
CHANGED
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,13 @@ 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
|
+
|
|
751
756
|
@@map("socialpost")
|
|
752
757
|
}
|
|
753
758
|
|
|
@@ -983,6 +988,7 @@ model SocialProfile {
|
|
|
983
988
|
user User? @relation(fields: [userId], references: [id])
|
|
984
989
|
|
|
985
990
|
@@index(username)
|
|
991
|
+
@@index(userId)
|
|
986
992
|
@@map("socialprofile")
|
|
987
993
|
}
|
|
988
994
|
|