@factor-wise/prisma-schema 2.0.23 → 2.0.24
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
|
@@ -247,6 +247,7 @@ model approval {
|
|
|
247
247
|
documentr String? @db.VarChar(512)
|
|
248
248
|
redFlag String?
|
|
249
249
|
createdDate DateTime @default(now()) @db.DateTime(0)
|
|
250
|
+
updatedAt DateTime @default(now()) @db.DateTime(0)
|
|
250
251
|
sanctionalloUID Int?
|
|
251
252
|
customerApproval approval_customerApproval @default(ZERO)
|
|
252
253
|
employmentType String? @db.VarChar(50)
|
|
@@ -1150,6 +1151,7 @@ model leads {
|
|
|
1150
1151
|
creditAssign Int
|
|
1151
1152
|
collectionUID Int?
|
|
1152
1153
|
createdDate DateTime @default(now()) @db.Timestamp(0)
|
|
1154
|
+
updatedAt DateTime @default(now()) @db.DateTime(0)
|
|
1153
1155
|
alloUID String @default("no") @db.VarChar(216)
|
|
1154
1156
|
sanctionalloUID Int
|
|
1155
1157
|
sanctionAppID String @default("no") @db.VarChar(216)
|
|
@@ -1343,6 +1345,7 @@ model loan {
|
|
|
1343
1345
|
ip String @db.VarChar(100)
|
|
1344
1346
|
disbursedBy Int?
|
|
1345
1347
|
createdDate DateTime @default(now()) @db.DateTime(0)
|
|
1348
|
+
updatedAt DateTime @default(now()) @db.DateTime(0)
|
|
1346
1349
|
allocate_date DateTime? @default(now()) @db.DateTime(0)
|
|
1347
1350
|
allocated_by String? @db.VarChar(64)
|
|
1348
1351
|
acutalDisbursalAmount Int?
|
|
@@ -2212,7 +2215,7 @@ model videokyc {
|
|
|
2212
2215
|
updatedAt DateTime @default(now()) @db.DateTime(0)
|
|
2213
2216
|
videoPath String?
|
|
2214
2217
|
location String?
|
|
2215
|
-
latlongAddress String?
|
|
2218
|
+
latlongAddress String? @db.Text
|
|
2216
2219
|
|
|
2217
2220
|
@@index([leadID], map: "fk_lead")
|
|
2218
2221
|
}
|
|
@@ -2244,7 +2247,11 @@ model cibildata {
|
|
|
2244
2247
|
updatedAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2245
2248
|
analyser_data Json?
|
|
2246
2249
|
|
|
2247
|
-
|
|
2250
|
+
@@index([leadID], map: "idx_leadID")
|
|
2251
|
+
@@index([status], map: "idx_status")
|
|
2252
|
+
@@index([createdAt], map: "idx_createdAt")
|
|
2253
|
+
@@index([leadID, status], map: "idx_lead_status")
|
|
2254
|
+
@@index([leadID, createdAt], map: "idx_lead_createdAt")
|
|
2248
2255
|
}
|
|
2249
2256
|
|
|
2250
2257
|
model loan_sequence {
|