@factor-wise/prisma-schema 2.0.42 → 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.42",
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",
@@ -650,6 +650,8 @@ model customer {
650
650
  marrital String? @db.VarChar(10)
651
651
  profile String? @db.VarChar(100)
652
652
  otp String? @default("") @db.VarChar(20)
653
+ emailOtp String? @db.VarChar(10)
654
+ emailVerify Boolean? @default(false)
653
655
  refreshToken String? @db.VarChar(100)
654
656
  isVerified Boolean @default(dbgenerated("b'0'")) @db.Bit(1)
655
657
  employeeType customer_employeeType?
@@ -2791,7 +2793,7 @@ model vendor_leads {
2791
2793
 
2792
2794
  name String? @db.VarChar(255)
2793
2795
  mobile String @db.VarChar(20)
2794
- pancard String? @db.VarChar(20)
2796
+ pancard String? @unique
2795
2797
  email String? @db.VarChar(255)
2796
2798
  pincode String? @db.VarChar(10)
2797
2799
  monthly_income Decimal? @db.Decimal(15, 2)
@@ -2827,6 +2829,7 @@ model vendor_leads {
2827
2829
  @@index([mobile])
2828
2830
  @@index([status])
2829
2831
  @@index([assignedTo])
2832
+ @@unique([vendorId, pancard])
2830
2833
  }
2831
2834
 
2832
2835