@factor-wise/prisma-schema 2.0.78 → 2.0.79

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factor-wise/prisma-schema",
3
- "version": "2.0.78",
3
+ "version": "2.0.79",
4
4
  "description": "Shared Prisma schema and generated client for Factor Wise projects",
5
5
  "main": "generated/client/index.js",
6
6
  "types": "generated/client/index.d.ts",
@@ -960,7 +960,7 @@ model employer {
960
960
  customerapp customerapp? @relation(fields: [customerappId], references: [customerID], map: "fk_employer_customerapp")
961
961
 
962
962
  @@index([customerID], map: "customerID")
963
- @@index([customerappId], map: "fk_employer_customerapp")
963
+ @@index([customerappId])
964
964
  }
965
965
 
966
966
  model employment_history {
@@ -1297,7 +1297,7 @@ model leads {
1297
1297
  criffsoftpull criffsoftpull?
1298
1298
  icici_payout icici_payout[]
1299
1299
  face_comparison face_comparison[]
1300
- credforge_bre_log credforge_bre_log?
1300
+ credforge_bre_log credforge_bre_log[]
1301
1301
 
1302
1302
  @@index([customerID], map: "leadcustomerID")
1303
1303
  }
@@ -2467,7 +2467,7 @@ model cibildata {
2467
2467
  @@index([leadID, createdAt], map: "idx_lead_createdAt")
2468
2468
  }
2469
2469
 
2470
- model criffsoftpull{
2470
+ model criffsoftpull {
2471
2471
  id Int @id @default(autoincrement())
2472
2472
  leadID Int? @unique
2473
2473
  customerID Int?
@@ -2477,9 +2477,8 @@ model criffsoftpull{
2477
2477
  createdAt DateTime? @default(now()) @db.Timestamp(0)
2478
2478
  updatedAt DateTime? @default(now()) @db.Timestamp(0)
2479
2479
 
2480
-
2481
- lead leads? @relation(fields: [leadID], references: [leadID])
2482
- customer customer? @relation(fields: [customerID], references: [customerID])
2480
+ lead leads? @relation(fields: [leadID], references: [leadID])
2481
+ customer customer? @relation(fields: [customerID], references: [customerID])
2483
2482
 
2484
2483
  @@index([leadID])
2485
2484
  @@index([status])
@@ -2728,7 +2727,7 @@ model criff_test {
2728
2727
 
2729
2728
  model credforge_bre_log {
2730
2729
  id Int @id @default(autoincrement())
2731
- leadID Int? @unique
2730
+ leadID Int?
2732
2731
  customerID Int?
2733
2732
  workflowName String
2734
2733
  requestPayload Json
@@ -2737,7 +2736,7 @@ model credforge_bre_log {
2737
2736
  status String?
2738
2737
  createdAt DateTime @default(now())
2739
2738
  leads leads? @relation(fields: [leadID], references: [leadID])
2740
- customer customer? @relation(fields: [customerID], references: [customerID])
2739
+ customer customer? @relation(fields: [customerID], references: [customerID])
2741
2740
 
2742
2741
  @@index([leadID])
2743
2742
  @@index([status])