@factor-wise/prisma-schema 2.0.125 → 2.0.127

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.125",
3
+ "version": "2.0.127",
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",
@@ -771,7 +771,11 @@ model customer_extended {
771
771
  otpExpiresAt DateTime?
772
772
  selfieAttempts Int? @default(0)
773
773
  kidGenerateAt DateTime? @default(now()) @db.DateTime(0)
774
- customer customer @relation(fields: [customerID], references: [customerID])
774
+ loanRequired Int @default(0)
775
+ loanPurpose String? @db.VarChar(255)
776
+ salaryMode String? @db.VarChar(100)
777
+
778
+ customer customer @relation(fields: [customerID], references: [customerID])
775
779
  }
776
780
 
777
781
  model customer_locations {
@@ -846,6 +850,7 @@ model customeraccount {
846
850
  createdDate DateTime @default(now()) @db.DateTime(0)
847
851
  bank_holder_name String? @db.Text
848
852
  customerappId Int?
853
+ isPrimary Boolean @default(false)
849
854
  razorpay_fund_account_id String? @db.VarChar(50)
850
855
  customer customer? @relation(fields: [customerID], references: [customerID])
851
856
  customerapp customerapp? @relation(fields: [customerappId], references: [customerID], map: "fk_customeraccount_customerapp")