I have a Next.js project deployed on Vercel and Neon connected to the project via Vercel Marketplace. I have the project configured with the following settings:
Environments
Choose which environments of the project to make this database available to. [x] Development [x] Preview [x] Production
Resource is Required To Be In An Active State Before Deployment
[x] Required
Create database branch for deployment
[x] Preview [ ] Production
Issue: when I push a new PR to be built and deployed on Vercel, then it is deployed as a Preview env but the database branch attached seems to always be
preview/HEAD
preview/HEAD
which is shared between all preview env however I was expecting that each deployment (PR) would have its own database branch. Are my expectations wrong or what could be wrong?