@factor-wise/prisma-schema 2.0.77 → 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 +1 -1
- package/prisma/schema.prisma +14 -8
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -703,6 +703,9 @@ model customer {
|
|
|
703
703
|
face_comparison face_comparison[]
|
|
704
704
|
preoffer preoffer[]
|
|
705
705
|
customer_extended customer_extended?
|
|
706
|
+
criffsoftpull criffsoftpull[]
|
|
707
|
+
credforge_bre_log credforge_bre_log[]
|
|
708
|
+
|
|
706
709
|
|
|
707
710
|
|
|
708
711
|
@@index([firstName], map: "firstName")
|
|
@@ -957,7 +960,7 @@ model employer {
|
|
|
957
960
|
customerapp customerapp? @relation(fields: [customerappId], references: [customerID], map: "fk_employer_customerapp")
|
|
958
961
|
|
|
959
962
|
@@index([customerID], map: "customerID")
|
|
960
|
-
@@index([customerappId]
|
|
963
|
+
@@index([customerappId])
|
|
961
964
|
}
|
|
962
965
|
|
|
963
966
|
model employment_history {
|
|
@@ -1294,7 +1297,7 @@ model leads {
|
|
|
1294
1297
|
criffsoftpull criffsoftpull?
|
|
1295
1298
|
icici_payout icici_payout[]
|
|
1296
1299
|
face_comparison face_comparison[]
|
|
1297
|
-
credforge_bre_log credforge_bre_log
|
|
1300
|
+
credforge_bre_log credforge_bre_log[]
|
|
1298
1301
|
|
|
1299
1302
|
@@index([customerID], map: "leadcustomerID")
|
|
1300
1303
|
}
|
|
@@ -2464,17 +2467,18 @@ model cibildata {
|
|
|
2464
2467
|
@@index([leadID, createdAt], map: "idx_lead_createdAt")
|
|
2465
2468
|
}
|
|
2466
2469
|
|
|
2467
|
-
model criffsoftpull{
|
|
2470
|
+
model criffsoftpull {
|
|
2468
2471
|
id Int @id @default(autoincrement())
|
|
2469
|
-
leadID Int
|
|
2472
|
+
leadID Int? @unique
|
|
2473
|
+
customerID Int?
|
|
2470
2474
|
requestPayload Json
|
|
2471
2475
|
responsePayload Json?
|
|
2472
2476
|
status String @default("pending") @db.VarChar(50)
|
|
2473
2477
|
createdAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2474
2478
|
updatedAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2475
2479
|
|
|
2476
|
-
|
|
2477
|
-
|
|
2480
|
+
lead leads? @relation(fields: [leadID], references: [leadID])
|
|
2481
|
+
customer customer? @relation(fields: [customerID], references: [customerID])
|
|
2478
2482
|
|
|
2479
2483
|
@@index([leadID])
|
|
2480
2484
|
@@index([status])
|
|
@@ -2723,14 +2727,16 @@ model criff_test {
|
|
|
2723
2727
|
|
|
2724
2728
|
model credforge_bre_log {
|
|
2725
2729
|
id Int @id @default(autoincrement())
|
|
2726
|
-
leadID Int
|
|
2730
|
+
leadID Int?
|
|
2731
|
+
customerID Int?
|
|
2727
2732
|
workflowName String
|
|
2728
2733
|
requestPayload Json
|
|
2729
2734
|
responsePayload Json?
|
|
2730
2735
|
loanAmount Float?
|
|
2731
2736
|
status String?
|
|
2732
2737
|
createdAt DateTime @default(now())
|
|
2733
|
-
leads leads @relation(fields: [leadID], references: [leadID])
|
|
2738
|
+
leads leads? @relation(fields: [leadID], references: [leadID])
|
|
2739
|
+
customer customer? @relation(fields: [customerID], references: [customerID])
|
|
2734
2740
|
|
|
2735
2741
|
@@index([leadID])
|
|
2736
2742
|
@@index([status])
|