@factor-wise/prisma-schema 2.0.109 → 2.0.110

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.109",
3
+ "version": "2.0.110",
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",
@@ -3748,6 +3748,7 @@ model customer_notifications {
3748
3748
  data Json?
3749
3749
  status NotificationStatus @default(PENDING)
3750
3750
  failureReason String? @db.VarChar(255)
3751
+ isRead Boolean @default(false)
3751
3752
  createdAt DateTime @default(now())
3752
3753
  updatedAt DateTime @updatedAt
3753
3754
  customer customer @relation(fields: [customerID], references: [customerID], onDelete: Cascade)
@@ -3755,6 +3756,7 @@ model customer_notifications {
3755
3756
  @@index([customerID])
3756
3757
  @@index([status])
3757
3758
  @@index([type])
3759
+ @@index([isRead])
3758
3760
  }
3759
3761
 
3760
3762
  enum LocationType {