© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
8 replies
Trapture

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"
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?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Branching migration issue
SupabaseSSupabase / help-and-questions
4mo ago
can't see branching 2.0
SupabaseSSupabase / help-and-questions
7mo ago
Migration issue on pgmq with branching?
SupabaseSSupabase / help-and-questions
4mo ago
Regarding branching
SupabaseSSupabase / help-and-questions
4mo ago