@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 +1 -1
- package/prisma/schema.prisma +2 -0
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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 {
|