@factor-wise/prisma-schema 1.0.12 → 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.12",
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",
@@ -650,6 +650,16 @@ model customer {
650
650
  updatedAt DateTime? @default(now()) @updatedAt @db.Timestamp(0)
651
651
  customerappId Int?
652
652
  isBlocked Boolean @default(false)
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)
653
663
  addresses address[]
654
664
  bankstatement bankstatement[]
655
665
  customerapp customerapp? @relation(fields: [customerappId], references: [customerID], map: "fk_customer_customerapp")
@@ -662,6 +672,8 @@ model customer {
662
672
 
663
673
  @@index([firstName], map: "firstName")
664
674
  @@index([firstName], map: "firstName_2")
675
+ @@index([last_login], map: "idx_customer_lastLogin")
676
+ @@index([loanApplied], map: "idx_customer_loanApplied")
665
677
  @@index([customerappId], map: "fk_customer_customerapp")
666
678
  }
667
679