@factor-wise/prisma-schema 1.0.20 → 1.0.22

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.20",
3
+ "version": "1.0.22",
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",
@@ -496,7 +496,7 @@ model collection {
496
496
  loanNo String
497
497
  collectedAmount Float
498
498
  penaltyAmount Float?
499
- collectedMode collection_collectedMode
499
+ collectedMode collection_collectedMode @default(NA)
500
500
  collectedDate DateTime @db.Date
501
501
  referenceNo String
502
502
  discountAmount Float @default(0)
@@ -2278,6 +2278,8 @@ model bankstatement {
2278
2278
  model tempLead {
2279
2279
  id Int @id @default(autoincrement())
2280
2280
  customerID Int
2281
+ createdAt DateTime @default(now()) @db.Timestamp(0)
2282
+ updatedAt DateTime @default(now()) @db.Timestamp(0)
2281
2283
  bankstatement bankstatement[]
2282
2284
  customer customer @relation(fields: [customerID], references: [customerID], onDelete: NoAction, onUpdate: NoAction, map: "tempLead_ibfk_1")
2283
2285
 
@@ -2347,6 +2349,7 @@ enum collection_collectedMode {
2347
2349
  CSB_BANK_5000 @map("CSB BANK-5000")
2348
2350
  INDUSIND_BANK_9999 @map("INDUSIND BANK-9999")
2349
2351
  BHARAT_SONI_PAYTM @map("BHARAT SONI PAYTM")
2352
+ NA
2350
2353
  }
2351
2354
 
2352
2355
  enum address_status {