Skip to content

Commit 73e0b2d

Browse files
authored
fix: Exclude realtime messages publication from publication dropping (#3063)
1 parent 7c26c04 commit 73e0b2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/migration/queries/drop.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ begin
8181
select *
8282
from pg_publication p
8383
where
84-
p.pubname != 'supabase_realtime'
84+
p.pubname not like 'supabase_realtime%'
8585
loop
8686
execute format('drop publication if exists %I', rec.pubname);
8787
end loop;

0 commit comments

Comments
 (0)