@factor-wise/prisma-schema 2.0.43 → 2.0.44

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.43",
3
+ "version": "2.0.44",
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",
@@ -2793,7 +2793,7 @@ model vendor_leads {
2793
2793
 
2794
2794
  name String? @db.VarChar(255)
2795
2795
  mobile String @db.VarChar(20)
2796
- pancard String? @db.VarChar(20)
2796
+ pancard String? @unique
2797
2797
  email String? @db.VarChar(255)
2798
2798
  pincode String? @db.VarChar(10)
2799
2799
  monthly_income Decimal? @db.Decimal(15, 2)
@@ -2829,6 +2829,7 @@ model vendor_leads {
2829
2829
  @@index([mobile])
2830
2830
  @@index([status])
2831
2831
  @@index([assignedTo])
2832
+ @@unique([vendorId, pancard])
2832
2833
  }
2833
2834
 
2834
2835