Question on best practice for Supabase branching for development and production #27860
|
Hi guys! I'm seeking clarification on the best practice for implementing Supabase branching in my project. The documentation warns against using branching in a "production setting," but also describes merging branches within a single project. I'm unsure whether I should create two separate Supabase projects (one for production and one for development with branches) or use a single project with a main "production" branch and separate development branches. My app is still in the development stage, but I want to set up a proper workflow that separates development and production environments while leveraging the new branching feature. How should I structure my Supabase project(s) to best utilize branching while following best practices for development and eventual production use? Thank you so much for your help! |
Replies: 1 comment 6 replies
|
I think I found the correct answer from Supabase docs and Supabase Chat: visit supabase.com/docs and hit cmd + /
|
Hi @wusixuan0, we have updated our branching docs recently to clarify the best practices for development and promoting to production. Typically we would recommend
Feel free to reach out if you have other questions.