@factor-wise/prisma-schema 1.0.17 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factor-wise/prisma-schema",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
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",
@@ -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
 
@@ -628,7 +630,7 @@ model customer {
628
630
  email String? @db.VarChar(100)
629
631
  pancard String? @db.VarChar(100)
630
632
  aadharNo BigInt?
631
- password String? @default("") @db.VarChar(20)
633
+ password String @default("") @db.VarChar(20)
632
634
  marrital String? @db.VarChar(10)
633
635
  profile String? @db.VarChar(100)
634
636
  otp String? @default("") @db.VarChar(20)
@@ -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
  }