Skip to content

Commit 1f29c9d

Browse files
authored
Merge pull request #404 from YuraPetrovskyi/migration-problem
403/fix deployment failure due to migration desynchronization
2 parents 43e265f + 1dcc37b commit 1f29c9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: supabase/migrations/20241128133000_schema_v2_start.sql renamed to supabase/migrations/20250207173330_remote_schema.sql

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,8 @@ CREATE SCHEMA IF NOT EXISTS "Test";
1414

1515
ALTER SCHEMA "Test" OWNER TO "postgres";
1616

17-
CREATE EXTENSION IF NOT EXISTS "pg_net" WITH SCHEMA "extensions";
18-
1917
CREATE EXTENSION IF NOT EXISTS "pgsodium" WITH SCHEMA "pgsodium";
2018

21-
COMMENT ON SCHEMA "public" IS 'standard public schema';
22-
2319
CREATE SCHEMA IF NOT EXISTS "test";
2420

2521
ALTER SCHEMA "test" OWNER TO "postgres";
@@ -453,6 +449,10 @@ CREATE POLICY "Enable read access for all users" ON "public"."user_conversations
453449

454450
ALTER PUBLICATION "supabase_realtime" OWNER TO "postgres";
455451

452+
CREATE PUBLICATION "supabase_realtime_messages_publication" WITH (publish = 'insert, update, delete, truncate');
453+
454+
-- ALTER PUBLICATION "supabase_realtime_messages_publication" OWNER TO "supabase_admin";
455+
456456
ALTER PUBLICATION "supabase_realtime" ADD TABLE ONLY "public"."conversations";
457457

458458
ALTER PUBLICATION "supabase_realtime" ADD TABLE ONLY "public"."messages";

0 commit comments

Comments
 (0)