enable realtime updates for projects table

This commit is contained in:
Krishav Raj Singh 2025-08-14 20:31:07 +05:30
parent 76e6761e26
commit d82f047eff
2 changed files with 9 additions and 1 deletions

View File

@ -44,4 +44,3 @@ BEGIN
RAISE NOTICE 'Marked % templates as Kortix team templates', updated_count;
END $$;
COMMIT;

View File

@ -0,0 +1,9 @@
-- Migration: Enable realtime updates for projects table
-- This migration enables realtime subscriptions for the projects table
BEGIN;
-- Enable realtime for projects table
ALTER PUBLICATION supabase_realtime ADD TABLE projects;
COMMIT;