@factor-wise/prisma-schema 2.0.36 → 2.0.37

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.36",
3
+ "version": "2.0.37",
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",
@@ -2411,7 +2411,7 @@ model bank_analysis {
2411
2411
  id Int @id @default(autoincrement())
2412
2412
  statementId Int @unique
2413
2413
  customerID Int
2414
- clienttrnxid String
2414
+ clienttrnxid String @unique
2415
2415
  analysisData Json?
2416
2416
  status bankanalysisStatus
2417
2417
  updated_at DateTime @updatedAt
@@ -2419,6 +2419,7 @@ model bank_analysis {
2419
2419
  bankstatement bankstatement @relation(fields: [statementId], references: [id])
2420
2420
 
2421
2421
  @@index([statementId], map: "statementId")
2422
+ @@index([clienttrnxid], map: "clienttrnxid")
2422
2423
  @@index([customerID], map: "bankstatement_ibfk_1")
2423
2424
  }
2424
2425