@factor-wise/prisma-schema 2.0.72 → 2.0.74

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.72",
3
+ "version": "2.0.74",
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",
@@ -716,8 +716,9 @@ model customer_extended {
716
716
  id Int @id @default(autoincrement())
717
717
  customerID Int @unique
718
718
  isBtCase Boolean @default(false)
719
+ attempts Int? @default(0)
720
+ lastAttempt DateTime?
719
721
  customer customer @relation(fields: [customerID], references: [customerID])
720
-
721
722
  }
722
723
 
723
724
  model customer_credit_remarks {
@@ -2548,6 +2549,7 @@ model lms_users {
2548
2549
  otp String? @db.VarChar(255)
2549
2550
  attempts Int?
2550
2551
  expire_at DateTime? @default(now()) @db.Timestamp(0)
2552
+ lock_until DateTime? @default(now()) @db.Timestamp(0)
2551
2553
  isVerified Boolean @default(false)
2552
2554
  role String? @db.VarChar(50)
2553
2555
  status String? @default("Active") @db.VarChar(20)