feat: Implement notification preferences management for both users and agents.

This commit is contained in:
pradeepkumar committed 2026-02-09 00:33:54 +05:30
1 parent 3b1a7b999e
commit 6ade2c74c5
5 files changed
+193

No files matched your search

+3
View File
@@ -102,6 +102,9 @@ model User {
twoFactorBackupCodes String? // JSON array of hashed backup codes
twoFactorVerifiedAt DateTime? // When 2FA was enabled
// User Preferences
notificationPreferences Json? // { email: {...}, push: {...} }
// Timestamps
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt