@a_team/prisma 3.1.1-win → 3.2.0-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-3186fed3de00e9390c0aa107afaf074dcfca5b88a0b237b0e12d0148f5482d8d",
2
+ "name": "prisma-client-057a6236816d7d3c5922f020459a39981d8f66d493a0b24d008bfa193cd513e9",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -26,6 +26,7 @@ model Account {
26
26
  migrations String[]
27
27
  missions Mission[]
28
28
  missionSpecs MissionSpec[]
29
+ contracts Contract[]
29
30
 
30
31
  @@map("accounts")
31
32
  }
@@ -105,6 +106,8 @@ model Contract {
105
106
  pandadocMetadata PandadocMetadata?
106
107
  source ContractSource?
107
108
  documentTitle String?
109
+ accountId String? @map("account") @db.ObjectId
110
+ account Account? @relation(fields: [accountId], references: [id])
108
111
 
109
112
  @@index([type, missionId, role, createdAt], map: "type_1_mission_1_role_1_createdAt_-1")
110
113
  @@index([parties.user, status, createdAt], map: "parties.user_1_status_1_createdAt_1")
@@ -157,7 +157,8 @@ exports.Prisma.ContractScalarFieldEnum = {
157
157
  role: 'role',
158
158
  custom: 'custom',
159
159
  source: 'source',
160
- documentTitle: 'documentTitle'
160
+ documentTitle: 'documentTitle',
161
+ accountId: 'accountId'
161
162
  };
162
163
 
163
164
  exports.Prisma.MissionScalarFieldEnum = {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.1.1-win",
3
+ "version": "3.2.0-linux",
4
4
  "os": [
5
- "win32"
5
+ "linux"
6
6
  ],
7
7
  "cpu": [],
8
8
  "keywords": [],