chahinebrini 58287f206d 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>
2026-05-11 04:40:32 +02:00

6 lines
317 B
SQL

-- 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;