@a_team/prisma 3.2.3-macos → 3.2.4-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-2c4b3a7fe8fda8e2afd3ccee6d3ca443d05469a8a740bbcba2a4680004836bbd",
2
+ "name": "prisma-client-1915a251eee5fbab10bf0bc910de72afb903428cb38ae84cfef359e73b53d1de",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -20,8 +20,8 @@ model Account {
20
20
  members AccountsMember[]
21
21
  workspace AccountsWorkspace?
22
22
  billingAccount String? @db.ObjectId
23
- createdAt DateTime? @db.Date
24
- updatedAt DateTime? @db.Date
23
+ createdAt DateTime? @default(now()) @db.Date
24
+ updatedAt DateTime? @updatedAt @db.Date
25
25
  deletedAt DateTime? @db.Date
26
26
  migrations String[]
27
27
  missions Mission[]
@@ -33,7 +33,7 @@ model Account {
33
33
 
34
34
  model ClientCompany {
35
35
  id String @id @default(auto()) @map("_id") @db.ObjectId
36
- createdAt DateTime? @db.Date
36
+ createdAt DateTime? @default(now()) @db.Date
37
37
  author String? @db.ObjectId
38
38
  name String
39
39
  slug String?
@@ -92,8 +92,8 @@ model Company {
92
92
  url String
93
93
  enrichment CompanyEnrichment
94
94
  createdBy String? @db.ObjectId
95
- createdAt DateTime? @db.Date
96
- updatedAt DateTime? @db.Date
95
+ createdAt DateTime? @default(now()) @db.Date
96
+ updatedAt DateTime? @updatedAt @db.Date
97
97
  requiresDeepEnrichment Boolean?
98
98
 
99
99
  @@index([name, createdAt], map: "name_1_createdAt_-1")
@@ -106,7 +106,7 @@ model Contract {
106
106
  status ContractStatus
107
107
  type ContractType
108
108
  downloadURL String
109
- createdAt DateTime @db.Date
109
+ createdAt DateTime @default(now()) @db.Date
110
110
  updatedAt DateTime @updatedAt @db.Date
111
111
  parties ContractParty[]
112
112
  missionId String? @map("mission") @db.ObjectId
@@ -169,7 +169,7 @@ type MissionRoleAvailability {
169
169
 
170
170
  type MissionRoleCustomQuestion {
171
171
  id String? @map("_id") @db.ObjectId
172
- createdAt DateTime? @db.Date
172
+ createdAt DateTime? @default(now()) @db.Date
173
173
  isRequired Boolean?
174
174
  isVisible Boolean
175
175
  text String
@@ -211,7 +211,7 @@ type MissionRole {
211
211
  builderRateMax Float?
212
212
  builderRateMin Float?
213
213
  category String @db.ObjectId
214
- createdAt DateTime? @db.Date
214
+ createdAt DateTime? @default(now()) @db.Date
215
215
  customQuestions MissionRoleCustomQuestion[]
216
216
  description String?
217
217
  fullName String?
@@ -294,7 +294,7 @@ model Mission {
294
294
  clientMargin Float?
295
295
  companyRequest MissionsCompanyRequest?
296
296
  companyStory String?
297
- createdAt DateTime? @db.Date
297
+ createdAt DateTime? @default(now()) @db.Date
298
298
  creatorUser String? @db.ObjectId
299
299
  creatorModel User? @relation("creator", fields: [creatorUser], references: [id])
300
300
  description String?
@@ -326,7 +326,7 @@ model Mission {
326
326
  talentIndustries String[]
327
327
  testing MissionsTesting?
328
328
  title String
329
- updatedAt DateTime? @db.Date
329
+ updatedAt DateTime? @updatedAt @db.Date
330
330
  videoURL String?
331
331
  website String?
332
332
  plannedStart String?
@@ -388,7 +388,7 @@ model MissionSpec {
388
388
  clientConfirmed Boolean?
389
389
  collaborators String[] @db.ObjectId
390
390
  companyDescription String?
391
- createdAt DateTime? @db.Date
391
+ createdAt DateTime? @default(now()) @db.Date
392
392
  deletedAt DateTime? @db.Date
393
393
  description String?
394
394
  icon String?
@@ -403,7 +403,7 @@ model MissionSpec {
403
403
  status MissionSpecStatus
404
404
  statusChangedAt StatusTime?
405
405
  title String
406
- updatedAt DateTime? @db.Date
406
+ updatedAt DateTime? @updatedAt @db.Date
407
407
  v Int @map("__v")
408
408
  videoURL String?
409
409
  workingHours WorkingHours?
@@ -480,7 +480,7 @@ type ClientRoleQuestion {
480
480
  text String
481
481
  isRequired Boolean?
482
482
  isVisible Boolean?
483
- createdAt DateTime @db.Date
483
+ createdAt DateTime @default(now()) @db.Date
484
484
  updatedAt DateTime? @db.Date
485
485
  }
486
486
 
@@ -566,7 +566,7 @@ model User {
566
566
  type String
567
567
  pictureURL String?
568
568
  status String
569
- createdAt DateTime @db.Date
569
+ createdAt DateTime @default(now()) @db.Date
570
570
  titles String[]
571
571
  scrubbed String?
572
572
  clientRegistration ClientRegistration?
package/package.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "3.2.3-macos",
3
+ "version": "3.2.4-linux",
4
4
  "os": [
5
- "darwin"
6
- ],
7
- "cpu": [
8
- "arm64"
5
+ "linux"
9
6
  ],
7
+ "cpu": [],
10
8
  "keywords": [],
11
9
  "scripts": {
12
10
  "build": "rm -rf ./dist && yarn run generate",