@factor-wise/prisma-schema 2.0.53 → 2.0.54

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factor-wise/prisma-schema",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "Shared Prisma schema and generated client for Factor Wise projects",
5
5
  "main": "generated/client/index.js",
6
6
  "types": "generated/client/index.d.ts",
@@ -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 {