@factor-wise/prisma-schema 2.0.30 → 2.0.31
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 +9 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -1124,11 +1124,13 @@ model eagreement {
|
|
|
1124
1124
|
access_token String? @db.VarChar(100)
|
|
1125
1125
|
isSigned Boolean @default(false)
|
|
1126
1126
|
signedAt DateTime?
|
|
1127
|
-
|
|
1127
|
+
leads leads @relation(fields: [leadID], references: [leadID])
|
|
1128
|
+
updated_at DateTime @updatedAt
|
|
1128
1129
|
createdAt DateTime @default(now())
|
|
1129
|
-
|
|
1130
|
+
|
|
1130
1131
|
|
|
1131
1132
|
@@index([loanNo])
|
|
1133
|
+
@@index([leadID], map: "leadID")
|
|
1132
1134
|
}
|
|
1133
1135
|
|
|
1134
1136
|
/// This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
|
|
@@ -1167,6 +1169,7 @@ model leads {
|
|
|
1167
1169
|
kfs leads_kfs @default(ZERO)
|
|
1168
1170
|
bureau_consent Int @default(0)
|
|
1169
1171
|
emandatebypass Boolean? @default(false)
|
|
1172
|
+
videoKycBypass Boolean? @default(false)
|
|
1170
1173
|
approvals approval[]
|
|
1171
1174
|
bankstatement bankstatement[]
|
|
1172
1175
|
callHistories callhistory[]
|
|
@@ -1180,6 +1183,8 @@ model leads {
|
|
|
1180
1183
|
balanceHistory balance_history[]
|
|
1181
1184
|
collectionFollowups collectionfollowup[]
|
|
1182
1185
|
Payout Payout?
|
|
1186
|
+
videokyc videokyc?
|
|
1187
|
+
eagreement eagreement?
|
|
1183
1188
|
|
|
1184
1189
|
@@index([customerID], map: "leadcustomerID")
|
|
1185
1190
|
}
|
|
@@ -2225,6 +2230,8 @@ model videokyc {
|
|
|
2225
2230
|
videoPath String?
|
|
2226
2231
|
location String?
|
|
2227
2232
|
latlongAddress String? @db.Text
|
|
2233
|
+
leads leads @relation(fields: [leadID], references: [leadID])
|
|
2234
|
+
|
|
2228
2235
|
|
|
2229
2236
|
@@index([leadID], map: "fk_lead")
|
|
2230
2237
|
}
|