feat: conectar Tablero CDC a Supabase empresarial
This commit is contained in:
@@ -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 $$;
|
||||
|
||||
Reference in New Issue
Block a user