From dde5a42b25e6f090e6d09a9db9b16349ce9eb605 Mon Sep 17 00:00:00 2001 From: Han Qiao Date: Fri, 24 Jan 2025 17:13:50 +0800 Subject: [PATCH] fix: ignore deprecated realtime publication (#3073) --- pkg/migration/queries/drop.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/migration/queries/drop.sql b/pkg/migration/queries/drop.sql index c25d1a14f..6dd8d8647 100644 --- a/pkg/migration/queries/drop.sql +++ b/pkg/migration/queries/drop.sql @@ -81,7 +81,7 @@ begin select * from pg_publication p where - p.pubname not like 'supabase_realtime%' + p.pubname not like 'supabase_realtime%' and p.pubname not like 'realtime_messages%' loop execute format('drop publication if exists %I', rec.pubname); end loop;