@creator.co/creatorco-prisma-client 1.0.82-alpha-87c8144 → 1.0.82-alpha-64cbbc1

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
@@ -92,7 +92,7 @@
92
92
  },
93
93
  "./*": "./*"
94
94
  },
95
- "version": "1.0.82-alpha-87c8144",
95
+ "version": "1.0.82-alpha-64cbbc1",
96
96
  "sideEffects": false,
97
97
  "description": "Prisma client for creatorco Database"
98
98
  }
package/schema.prisma CHANGED
@@ -1322,16 +1322,18 @@ enum SocialProfileContactSource {
1322
1322
  }
1323
1323
 
1324
1324
  model SocialProfileContact {
1325
- id Int @id @default(autoincrement())
1326
- type String
1327
- value String
1328
- source SocialProfileContactSource @default(MANUAL)
1329
- metaData Json? @default("{}") @map("meta_data")
1325
+ type String
1326
+ value String
1327
+ source SocialProfileContactSource @default(MANUAL)
1328
+ metaData Json? @default("{}") @map("meta_data")
1329
+ createdAt DateTime? @default(now())
1330
+ updatedAt DateTime? @updatedAt
1330
1331
 
1331
1332
  socialProfileId Int @map("social_profile_id")
1332
1333
 
1333
1334
  socialProfile SocialProfile @relation(fields: [socialProfileId], references: [id], onDelete: Cascade)
1334
1335
 
1336
+ @@id([type, value])
1335
1337
  @@map("social_profile_contact")
1336
1338
  }
1337
1339
 
package/wasm.js CHANGED
@@ -871,11 +871,12 @@ exports.Prisma.SocialProfileScalarFieldEnum = {
871
871
  };
872
872
 
873
873
  exports.Prisma.SocialProfileContactScalarFieldEnum = {
874
- id: 'id',
875
874
  type: 'type',
876
875
  value: 'value',
877
876
  source: 'source',
878
877
  metaData: 'metaData',
878
+ createdAt: 'createdAt',
879
+ updatedAt: 'updatedAt',
879
880
  socialProfileId: 'socialProfileId'
880
881
  };
881
882