@factor-wise/prisma-schema 2.0.77 → 2.0.78
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 +11 -4
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")
|
|
@@ -2466,7 +2469,8 @@ model cibildata {
|
|
|
2466
2469
|
|
|
2467
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)
|
|
@@ -2474,7 +2478,8 @@ model criffsoftpull{
|
|
|
2474
2478
|
updatedAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2475
2479
|
|
|
2476
2480
|
|
|
2477
|
-
|
|
2481
|
+
lead leads? @relation(fields: [leadID], references: [leadID])
|
|
2482
|
+
customer customer? @relation(fields: [customerID], references: [customerID])
|
|
2478
2483
|
|
|
2479
2484
|
@@index([leadID])
|
|
2480
2485
|
@@index([status])
|
|
@@ -2723,14 +2728,16 @@ model criff_test {
|
|
|
2723
2728
|
|
|
2724
2729
|
model credforge_bre_log {
|
|
2725
2730
|
id Int @id @default(autoincrement())
|
|
2726
|
-
leadID Int
|
|
2731
|
+
leadID Int? @unique
|
|
2732
|
+
customerID Int?
|
|
2727
2733
|
workflowName String
|
|
2728
2734
|
requestPayload Json
|
|
2729
2735
|
responsePayload Json?
|
|
2730
2736
|
loanAmount Float?
|
|
2731
2737
|
status String?
|
|
2732
2738
|
createdAt DateTime @default(now())
|
|
2733
|
-
leads leads @relation(fields: [leadID], references: [leadID])
|
|
2739
|
+
leads leads? @relation(fields: [leadID], references: [leadID])
|
|
2740
|
+
customer customer? @relation(fields: [customerID], references: [customerID])
|
|
2734
2741
|
|
|
2735
2742
|
@@index([leadID])
|
|
2736
2743
|
@@index([status])
|