N
Neon•9mo ago
unwilling-turquoise

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
old-apricot
old-apricot•9mo ago
Hi @House Are you using Neon directly or through the native integration on Vercel?
unwilling-turquoise
unwilling-turquoiseOP•9mo ago
Native
old-apricot
old-apricot•9mo 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...
unwilling-turquoise
unwilling-turquoiseOP•9mo 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
unwilling-turquoise
unwilling-turquoiseOP•9mo ago
No description
unwilling-turquoise
unwilling-turquoiseOP•9mo ago
No description
old-apricot
old-apricot•9mo ago
On your Storage tab, can you check if your Database has a "Connect" button:
No description
old-apricot
old-apricot•9mo ago
The modal that opens should have an Advanced Options toggle
No description
unwilling-turquoise
unwilling-turquoiseOP•9mo ago
No description
unwilling-turquoise
unwilling-turquoiseOP•9mo 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
old-apricot
old-apricot•9mo 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.
unwilling-turquoise
unwilling-turquoiseOP•9mo ago
I found it its here in Projects tab, hamberger menu. LOL omg 🤣 thanks for the help anyway!
old-apricot
old-apricot•9mo ago
If you wouldn't mind, could you post a screen cap? Would really like to see what fixed it for you.
old-apricot
old-apricot•9mo ago
ok. I see it:
No description
unwilling-turquoise
unwilling-turquoiseOP•9mo ago
Yea it had my db name that's why I removed it but you got it! Thanks for helping out!
old-apricot
old-apricot•9mo ago
Glad it's sorted out!

Did you find this page helpful?