@factor-wise/prisma-schema 2.0.63 → 2.0.65

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.63",
3
+ "version": "2.0.65",
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",
@@ -701,6 +701,8 @@ model customer {
701
701
  profileInfo profile_info[]
702
702
  finb_logs finb_logs[]
703
703
  face_comparison face_comparison[]
704
+ preoffer preoffer[]
705
+ customer_extended customer_extended?
704
706
 
705
707
 
706
708
  @@index([firstName], map: "firstName")
@@ -710,6 +712,14 @@ model customer {
710
712
  @@index([customerappId], map: "fk_customer_customerapp")
711
713
  }
712
714
 
715
+ model customer_extended {
716
+ id Int @id @default(autoincrement())
717
+ customerID Int @unique
718
+ isBtCase Boolean @default(false)
719
+ customer customer @relation(fields: [customerID], references: [customerID])
720
+
721
+ }
722
+
713
723
  model customer_credit_remarks {
714
724
  id Int @id @default(autoincrement())
715
725
  customerId Int
@@ -985,6 +995,17 @@ model profile_info {
985
995
  @@index([status])
986
996
  }
987
997
 
998
+ model preoffer {
999
+ id Int @id @default(autoincrement())
1000
+ customerID Int
1001
+ response Json?
1002
+ customer customer @relation(fields: [customerID], references: [customerID])
1003
+ createdDate DateTime @default(now()) @db.DateTime(0)
1004
+ updated_at DateTime @updatedAt
1005
+ }
1006
+
1007
+
1008
+
988
1009
  model finb_logs {
989
1010
  id Int @id @default(autoincrement())
990
1011
  customerID Int