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

This commit is contained in:
pradeepkumar
2026-02-09 00:33:54 +05:30
parent 3b1a7b999e
commit 6ade2c74c5
5 changed files with 193 additions and 0 deletions

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