feat: conectar Tablero CDC a Supabase empresarial

This commit is contained in:
2026-06-01 09:27:26 -04:00
parent a88f106eec
commit c546f59009
8 changed files with 69 additions and 69 deletions
+6 -6
View File
@@ -11,9 +11,9 @@ begin
from pg_publication_tables
where pubname = 'supabase_realtime'
and schemaname = 'public'
and tablename = 'projects'
and tablename = 'tablero_cdc_projects'
) then
alter publication supabase_realtime add table public.projects;
alter publication supabase_realtime add table public.tablero_cdc_projects;
end if;
if not exists (
@@ -21,9 +21,9 @@ begin
from pg_publication_tables
where pubname = 'supabase_realtime'
and schemaname = 'public'
and tablename = 'project_links'
and tablename = 'tablero_cdc_project_links'
) then
alter publication supabase_realtime add table public.project_links;
alter publication supabase_realtime add table public.tablero_cdc_project_links;
end if;
if not exists (
@@ -31,8 +31,8 @@ begin
from pg_publication_tables
where pubname = 'supabase_realtime'
and schemaname = 'public'
and tablename = 'app_lists'
and tablename = 'tablero_cdc_app_lists'
) then
alter publication supabase_realtime add table public.app_lists;
alter publication supabase_realtime add table public.tablero_cdc_app_lists;
end if;
end $$;