@factor-wise/prisma-schema 2.0.10 → 2.0.11

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.10",
3
+ "version": "2.0.11",
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",
@@ -542,6 +542,9 @@ model collectionfollowup {
542
542
  reason String? @db.Text
543
543
  s3key String?
544
544
 
545
+ lead leads @relation(fields: [leadID], references: [leadID])
546
+
547
+
545
548
  @@index([leadID])
546
549
  @@index([loanNo])
547
550
  }
@@ -1167,6 +1170,7 @@ model leads {
1167
1170
  collectionUser lms_users? @relation("CollectionAssignedUser", fields: [collectionUID], references: [userID])
1168
1171
  sanctionUser lms_users @relation("SanctionAssignedUser", fields: [sanctionalloUID], references: [userID])
1169
1172
  balanceHistory balance_history[]
1173
+ collectionFollowups collectionfollowup[]
1170
1174
 
1171
1175
  @@index([customerID], map: "leadcustomerID")
1172
1176
  }