SupabaseS
Supabase4mo ago
ali512

how to connect one github repo to different supabase branch projects

I have an app that has two github branches (main, development) which currently link to supabase branches (main, development).

when I swtich branches in my editer, and run db pull or link status it always points the project to the main project branch project ref. why is this? What is the best practice to handle a prod and development branch?

I want my supabase UI to be the source of truth, but im super confused how supabase migrations or schemas work. I need to keep them up to date with the remote db, but how?
Was this page helpful?