@a_team/prisma 2.1.7 → 2.1.8

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-5854e915362fb2f63b6ce600af75cb75f9ea1bae742096abaf3b57e515cba721",
2
+ "name": "prisma-client-a2668516853f79aed72d345dbace54213073f6d19e067940b47f8e0bf8c2d316",
3
3
  "main": "index.js",
4
4
  "types": "index.d.ts",
5
5
  "browser": "index-browser.js",
@@ -297,8 +297,8 @@ model Mission {
297
297
  mainManagerUserId String?
298
298
  managers MissionsManager[]
299
299
  migrations String[]
300
- missionSpecId String? @unique @db.ObjectId
301
- missionSpec MissionSpec? @relation(fields: [missionSpecId], references: [id])
300
+ missionSpecId String @unique @db.ObjectId
301
+ missionSpec MissionSpec @relation(fields: [missionSpecId], references: [id])
302
302
  owner String? @db.ObjectId
303
303
  ownerModel User? @relation("ownerModel", fields: [owner], references: [id])
304
304
  promotedTags String[]
@@ -309,7 +309,7 @@ model Mission {
309
309
  setAsScheduledToEndAt DateTime? @db.Date
310
310
  shortCompanyDescription String?
311
311
  skipContracts Boolean?
312
- status MissionStatus
312
+ status String
313
313
  talentIndustries String[]
314
314
  testing MissionsTesting?
315
315
  title String
@@ -325,18 +325,6 @@ model Mission {
325
325
  @@map("missions")
326
326
  }
327
327
 
328
- enum MissionStatus {
329
- Spec
330
- Formation
331
- Created
332
- Published
333
- Pending
334
- Running
335
- ScheduledToEnd
336
- Ended
337
- Archived
338
- }
339
-
340
328
  model MissionSpec {
341
329
  id String @id @default(auto()) @map("_id") @db.ObjectId
342
330
  account Account? @relation(fields: [accountId], references: [id])
@@ -310,18 +310,6 @@ exports.ContractSource = exports.$Enums.ContractSource = {
310
310
  ATeamGenerated: 'ATeamGenerated'
311
311
  };
312
312
 
313
- exports.MissionStatus = exports.$Enums.MissionStatus = {
314
- Spec: 'Spec',
315
- Formation: 'Formation',
316
- Created: 'Created',
317
- Published: 'Published',
318
- Pending: 'Pending',
319
- Running: 'Running',
320
- ScheduledToEnd: 'ScheduledToEnd',
321
- Ended: 'Ended',
322
- Archived: 'Archived'
323
- };
324
-
325
313
  exports.MissionSpecStatus = exports.$Enums.MissionSpecStatus = {
326
314
  spec: 'spec',
327
315
  formation: 'formation',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a_team/prisma",
3
- "version": "2.1.7",
3
+ "version": "2.1.8",
4
4
  "keywords": [],
5
5
  "scripts": {
6
6
  "build": "rm -rf ./dist & npm run generate & tsc",