N
Neon2y ago
wise-white

How do I turn off new branch being created for each non-main deployments on Vercel?

Currently each feature branch deployment is spinning up an empty DB and causing errors.
3 Replies
wise-white
wise-whiteOP2y ago
Or at the least allow me to configure pointing the feature branch deployments to an existing DB which I have already used in local dev.
stormy-gold
stormy-gold2y ago
Hey, the Vercel integration creates a branch from the primary branch in your Neon project. You can define your primary branch in Neon following these steps: https://neon.tech/docs/manage/branches#set-a-branch-as-primary Give that a try and let us know if it works.
Neon
Manage branches - Neon Docs
Data resides in a branch. Each Neon project is created with a primary branch called main. You can create child branches from main or from previously created branches. A branch can contain multiple dat...
wise-white
wise-whiteOP2y ago
Thanks for the response! Will give it a try

Did you find this page helpful?