Branching 2.0 Migration failing

Hey folks,
I just enabled the Branching 2.0 preview and created a branch called dev in the dashboard but the Migrations failed.
This is the log:
2025/07/26 17:43:19 INFO Pulling migrations from database... host=[2a05:...:b12e]:5432
2025/07/26 17:43:20 INFO Pulling migrations from database... host=[2a05:...:56f]:5432
2025/07/26 17:43:21 INFO Checking service health... project_ref=rw[...]mv
2025/07/26 17:43:22 INFO Config file not found... path=supabase/config.toml
2025/07/26 17:43:22 INFO Connecting to database... host=[2a05:...:56f]:5432
Applying migration 20250713152811_remote_schema.sql...
Applying migration 20250713153541_remote_schema.sql...
NOTICE (00000): trigger "enforce_bucket_name_length_trigger" for relation "storage.buckets" does not exist, skipping
NOTICE (00000): trigger "objects_delete_delete_prefix" for relation "storage.objects" does not exist, skipping
NOTICE (00000): trigger "objects_insert_create_prefix" for relation "storage.objects" does not exist, skipping
NOTICE (00000): trigger "objects_update_create_prefix" for relation "storage.objects" does not exist, skipping
2025/07/26 17:43:26 ERROR: relation "storage.prefixes" does not exist (SQLSTATE 42P01)
At statement: 5
drop trigger if exists "prefixes_create_hierarchy" on "storage"."prefixes"


Before this I also updated Postgres from 15.something to newest (17.4.1.064). Don't know whether that factors in.

Any ideas?
Was this page helpful?