Skip to content

Commit

Permalink
fix: Exclude realtime messages publication from publication dropping
Browse files Browse the repository at this point in the history
  • Loading branch information
filipecabaco committed Jan 22, 2025
1 parent 7c26c04 commit 1a18325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/migration/queries/drop.sql
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ begin
select *
from pg_publication p
where
p.pubname != 'supabase_realtime'
p.pubname not like 'supabase_realtime%'
loop
execute format('drop publication if exists %I', rec.pubname);
end loop;
Expand Down

0 comments on commit 1a18325

Please sign in to comment.