@factor-wise/prisma-schema 2.0.53 → 2.0.55
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 +17 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -2343,6 +2343,19 @@ model account_agg {
|
|
|
2343
2343
|
createdAt DateTime? @default(now()) @db.Timestamp(0)
|
|
2344
2344
|
processed_data Json?
|
|
2345
2345
|
latest_bankstatement Int?
|
|
2346
|
+
|
|
2347
|
+
@@index([customerId])
|
|
2348
|
+
@@index([mobileNumber])
|
|
2349
|
+
@@index([clienttrnxid])
|
|
2350
|
+
@@index([txnid])
|
|
2351
|
+
@@index([consentId])
|
|
2352
|
+
@@index([consentStatus])
|
|
2353
|
+
@@index([createdAt])
|
|
2354
|
+
@@index([pushDataReceivedAt])
|
|
2355
|
+
|
|
2356
|
+
// composite indexes (VERY useful)
|
|
2357
|
+
@@index([customerId, consentStatus])
|
|
2358
|
+
@@index([mobileNumber, createdAt])
|
|
2346
2359
|
}
|
|
2347
2360
|
|
|
2348
2361
|
model cibildata {
|
|
@@ -2448,6 +2461,10 @@ model lms_users {
|
|
|
2448
2461
|
branch String? @db.VarChar(100)
|
|
2449
2462
|
username String @unique(map: "username") @db.VarChar(100)
|
|
2450
2463
|
password String @db.VarChar(255)
|
|
2464
|
+
otp String? @db.VarChar(255)
|
|
2465
|
+
attempts Int?
|
|
2466
|
+
expire_at DateTime? @default(now()) @db.Timestamp(0)
|
|
2467
|
+
isVerified Boolean @default(false)
|
|
2451
2468
|
role String? @db.VarChar(50)
|
|
2452
2469
|
status String? @default("Active") @db.VarChar(20)
|
|
2453
2470
|
session_id String? @db.VarChar(255)
|