How to turn off Preview branching on Vercel/Neon?
Does not seem to be in either Vercel or Neon console. It's a cool feature but looks like on the free tier, we're only allowed to have 10 branches so hence it doesn't really make sense.
16 Replies
sensitive-blue•7mo ago
Hi @House Are you using Neon directly or through the native integration on Vercel?
automatic-azureOP•7mo ago
Native
sensitive-blue•7mo ago
Please see the step about "Advanced options" here: https://neon.tech/docs/guides/vercel-native-integration-previews#connect-your-vercel-project-to-a-neon-database
You would have to deselect those. Let me know how you make out.
Neon
Vercel Native Integration Previews - Neon Docs
How to create a database branch for each preview deployment The benefits of a branch for every preview deployment Neon Postgres Native Integration The Neon Postgres Native Integration, available on th...
automatic-azureOP•7mo ago
Hey @Daniel thanks for helping out! This is how I've set it up. The DB is already connected. There is no "Advanced Settings" (or at least I couldn't find it) after connection
automatic-azureOP•7mo ago

automatic-azureOP•7mo ago

sensitive-blue•7mo ago
On your Storage tab, can you check if your Database has a "Connect" button:

sensitive-blue•7mo ago
The modal that opens should have an Advanced Options toggle

automatic-azureOP•7mo ago

automatic-azureOP•7mo ago
So I did that already and the DB is connected. Now it shows this
Basically I want to uncheck the "preview" button you are showing that creates branches on preview
sensitive-blue•7mo ago
OK, so I would try reconnecting to your database, making sure the "Deployments" toggle is disabled.
Just to let you know, this preview branching feature was just released, so it's possible there's some unexpected behavior.
automatic-azureOP•7mo ago
I found it its here in Projects tab, hamberger menu. LOL omg
🤣 thanks for the help anyway!
sensitive-blue•7mo ago
If you wouldn't mind, could you post a screen cap? Would really like to see what fixed it for you.
sensitive-blue•7mo ago
ok. I see it:

automatic-azureOP•7mo ago
Yea it had my db name that's why I removed it but you got it!
Thanks for helping out!
sensitive-blue•7mo ago
Glad it's sorted out!