Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -55,9 +55,9 @@ model UserNotificationPreference {
|
||||
@@index([tenantId, category], name: "user_notification_preference_tenant_category_idx")
|
||||
}
|
||||
|
||||
// DeviceToken (Phase 08 #65 — Capacitor mobile wrapper).
|
||||
// DeviceToken for PWA Web Push registrations.
|
||||
//
|
||||
// Tracks active APNs / FCM / WebPush device tokens per user. The
|
||||
// Tracks active Web Push tokens per user. The
|
||||
// register-device API endpoint upserts by `token` (globally unique).
|
||||
// `lastSeenAt` is bumped on every successful send so an out-of-band
|
||||
// cron can prune tokens older than 90d without disrupting active users.
|
||||
@@ -71,7 +71,7 @@ model DeviceToken {
|
||||
tenantId String?
|
||||
platform String // 'ios' | 'android' | 'web'
|
||||
token String @unique
|
||||
pushProvider String // 'fcm' | 'apns' | 'webpush'
|
||||
pushProvider String // 'webpush'
|
||||
appVersion String?
|
||||
lastSeenAt DateTime @default(now())
|
||||
revokedAt DateTime?
|
||||
|
||||
Reference in new issue
Block a user