feat(P5C.T2-sql): conversation_members.mentions_only column

This commit is contained in:
byGalax
2026-05-16 22:17:04 +02:00
parent d7c0c3d0a2
commit b8b451ef4f
@@ -0,0 +1,9 @@
-- Phase 5C: per-conversation "notify only on @mentions" toggle.
-- Lives alongside the existing muted_until column on conversation_members.
-- When true: the renderer's incoming-message notification gate suppresses
-- the alert unless the message contains an @-mention of the local user.
-- Mentions always fire regardless (override-by-design via the independent
-- useMentionNotifications subscription on message_mentions).
alter table public.conversation_members
add column if not exists mentions_only boolean not null default false;