@factor-wise/prisma-schema 1.0.18 → 1.0.19
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 +3 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -514,6 +514,8 @@ model collection {
|
|
|
514
514
|
discount_waiver_amount String? @db.Text
|
|
515
515
|
refund_utr_no String? @db.VarChar(256)
|
|
516
516
|
|
|
517
|
+
lead leads @relation(fields: [leadID], references: [leadID])
|
|
518
|
+
|
|
517
519
|
@@index([leadID], map: "leadID")
|
|
518
520
|
}
|
|
519
521
|
|
|
@@ -1138,6 +1140,7 @@ model leads {
|
|
|
1138
1140
|
callhistorylogs callhistorylogs[]
|
|
1139
1141
|
customer customer? @relation(fields: [customerID], references: [customerID])
|
|
1140
1142
|
loan loan?
|
|
1143
|
+
collections collection[]
|
|
1141
1144
|
|
|
1142
1145
|
@@index([customerID], map: "leadcustomerID")
|
|
1143
1146
|
}
|