fix(realtime): enable Supabase Realtime publication for rebreak.notifications

Fixes [notifRealtime] CHANNEL_ERROR — table was not in supabase_realtime
publication, so postgres_changes events never arrived. Added by backyard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chahinebrini 2026-05-11 04:40:32 +02:00
parent 7d04e42bb5
commit 58287f206d

View File

@ -0,0 +1,5 @@
-- Enable Supabase Realtime for notifications table
-- Fixes CHANNEL_ERROR in notifRealtime subscription:
-- rebreak.notifications was not part of supabase_realtime publication,
-- causing postgres_changes subscriptions to fail with CHANNEL_ERROR.
ALTER PUBLICATION supabase_realtime ADD TABLE rebreak.notifications;