@factor-wise/prisma-schema 1.0.26 → 1.0.27

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.26",
3
+ "version": "1.0.27",
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",
@@ -668,7 +668,6 @@ model customer {
668
668
  leads leads[]
669
669
  reference reference[]
670
670
  reloan_status reloan_status[]
671
- templead templead[]
672
671
 
673
672
  @@index([firstName], map: "firstName")
674
673
  @@index([firstName], map: "firstName_2")
@@ -2134,6 +2133,7 @@ model cibildata {
2134
2133
  leadID Int
2135
2134
  requestPayload Json
2136
2135
  responsePayload Json?
2136
+ analyser_data Json?
2137
2137
  status String @default("pending") @db.VarChar(50)
2138
2138
  createdAt DateTime? @default(now()) @db.Timestamp(0)
2139
2139
  updatedAt DateTime? @default(now()) @db.Timestamp(0)
@@ -2250,7 +2250,6 @@ model bankstatement {
2250
2250
  id Int @id @default(autoincrement())
2251
2251
  customerID Int
2252
2252
  leadID Int?
2253
- tempLeadID Int
2254
2253
  pushData Json?
2255
2254
  documentFile String? @db.VarChar(255)
2256
2255
  password String? @db.VarChar(255)
@@ -2263,23 +2262,11 @@ model bankstatement {
2263
2262
  user_requirement Json?
2264
2263
  customer customer @relation(fields: [customerID], references: [customerID], onDelete: NoAction, onUpdate: NoAction, map: "bankstatement_ibfk_1")
2265
2264
  leads leads? @relation(fields: [leadID], references: [leadID], onDelete: NoAction, onUpdate: NoAction, map: "bankstatement_ibfk_3")
2266
- tempLead templead @relation(fields: [tempLeadID], references: [id], onDelete: NoAction, onUpdate: NoAction, map: "bankstatement_ibfk_4")
2267
2265
 
2268
2266
  @@index([leadID], map: "leadID")
2269
- @@index([tempLeadID], map: "tempLeadID")
2270
2267
  @@index([customerID], map: "bankstatement_ibfk_1")
2271
2268
  }
2272
2269
 
2273
- model templead {
2274
- id Int @id @default(autoincrement())
2275
- createdAt DateTime @default(now()) @db.Timestamp(0)
2276
- customerID Int
2277
- updatedAt DateTime @default(now()) @db.Timestamp(0)
2278
- bankstatement bankstatement[]
2279
- customer customer @relation(fields: [customerID], references: [customerID], onDelete: NoAction, onUpdate: NoAction, map: "tempLead_ibfk_1")
2280
-
2281
- @@index([customerID], map: "customerID")
2282
- }
2283
2270
 
2284
2271
  enum usersgoogle_oauth_provider {
2285
2272
  google