@factor-wise/prisma-schema 1.0.13 → 1.0.14

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.13",
3
+ "version": "1.0.14",
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",
@@ -651,6 +651,15 @@ model customer {
651
651
  customerappId Int?
652
652
  isBlocked Boolean @default(false)
653
653
  utmSource String? @db.VarChar(256)
654
+ last_login DateTime @default(now()) @db.Timestamp(0)
655
+ loanApplied Boolean @default(false)
656
+ is_onboarded Boolean @default(false)
657
+ digioKid String?
658
+ digioMobileNumber String?
659
+ permanent_address String? @db.Text
660
+ current_address String? @db.Text
661
+ presalesassign Int?
662
+ alternateMobile String? @db.VarChar(50)
654
663
  addresses address[]
655
664
  bankstatement bankstatement[]
656
665
  customerapp customerapp? @relation(fields: [customerappId], references: [customerID], map: "fk_customer_customerapp")
@@ -663,6 +672,8 @@ model customer {
663
672
 
664
673
  @@index([firstName], map: "firstName")
665
674
  @@index([firstName], map: "firstName_2")
675
+ @@index([last_login], map: "idx_customer_lastLogin")
676
+ @@index([loanApplied], map: "idx_customer_loanApplied")
666
677
  @@index([customerappId], map: "fk_customer_customerapp")
667
678
  }
668
679