@a_team/prisma 3.16.1-macos-docker-linux → 3.16.2-linux

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "name": "prisma-client-99a29bab1cd7740835911da883a20160815b7d304f39a31f7fd4d9d2ce23486a",
2
+ "name": "prisma-client-874be1e2e1af73fa5800f45b03133efc51e5d04f69f87d199d6dac840416fc7b",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -457,6 +457,9 @@ model Contract {
457
457
  accountId String? @map("account") @db.ObjectId
458
458
  account Account? @relation(fields: [accountId], references: [id])
459
459
  deletedAt DateTime? @db.Date
460
+ // denotes the builder for which the contract is generated
461
+ builderId String? @map("builder") @db.ObjectId
462
+ builder User? @relation("builder", fields: [builderId], references: [id])
460
463
 
461
464
  @@index([type, missionId, role, createdAt], map: "type_1_mission_1_role_1_createdAt_-1")
462
465
  @@index([parties.user, status, createdAt], map: "parties.user_1_status_1_createdAt_1")
@@ -1674,6 +1677,7 @@ model User {
1674
1677
  acceptTOS AcceptTOS?
1675
1678
  acceptTOSHistory AcceptTOS[]
1676
1679
  portfolio UserPortfolio?
1680
+ builderContracts Contract[] @relation("builder")
1677
1681
 
1678
1682
  @@map("users")
1679
1683
  }
@@ -255,7 +255,8 @@ exports.Prisma.ContractScalarFieldEnum = {
255
255
  source: 'source',
256
256
  documentTitle: 'documentTitle',
257
257
  accountId: 'accountId',
258
- deletedAt: 'deletedAt'
258
+ deletedAt: 'deletedAt',
259
+ builderId: 'builderId'
259
260
  };
260
261
 
261
262
  exports.Prisma.ExperienceScalarFieldEnum = {
package/package.json CHANGED
@@ -1,7 +1,9 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.16.1-macos-docker-linux",
4
- "os": [],
3
+ "version": "3.16.2-linux",
4
+ "os": [
5
+ "linux"
6
+ ],
5
7
  "cpu": [],
6
8
  "keywords": [],
7
9
  "prisma": {