refactor: drop is_read and read_at from notifications table #59

Merged
rafaga21 merged 1 commits from feat/dashboard-aggregated-chart into master 2026-06-13 12:05:24 -04:00

1 Commits

Author SHA1 Message Date
80f5893d92 refactor: drop is_read and read_at from notifications table
- is_read and read_at columns are now obsolete since notification_reads
  tracks per-user read receipts
- Removed UPDATE statements in markAsRead/markAllAsRead that touched
  the old columns
- API response still includes computed is_read field via SQL CASE in
  getForUser() JOIN with notification_reads, maintaining Android
  compatibility
- Migration 009 drops both columns
2026-06-13 11:57:56 -04:00