@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 +1 -1
- package/prisma/schema.prisma +2 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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? @
|
|
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
|
|