Vercel Integration & Database Branching #32596
Unanswered
alexbaron-me
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to set up a Redwood project using the new database branching feature.
However, Vercel's preview builds all connect to the
main
database branch, as opposed to the newly created preview one. This is because Supabase's Vercel integration does not modify the environment variables for preview builds, passing the production database connection string.My current workaround uses the management API to generate the connection string for the preview branch, but that does not seem like a stable solution.
Am I overlooking something?
Beta Was this translation helpful? Give feedback.
All reactions