I’m working with a Vercel application that was initially set up with Neon DB using the default options. Recently, I created a new database on Neon and was able to run my application locally by updating to the new connection string. Everything works fine locally.
Now, I need to update the connection string in my Vercel deployment. However, I encountered an issue where the POSTGRES_URL
environment variable is not editable on the Vercel dashboard under environment variables. It seems this field was locked when setting up the initial Neon integration and it directs me to “manage connections” for changes.
In the “manage connections” section, there is an editable field labeled “DB name” which confusingly refers to the Neon’s “Project Name” rather than the actual database name. This doesn’t allow me to switch to the new database I created.
Has anyone faced a similar issue? How can I update my connection string on Vercel to point to the new Neon DB I created? Any guidance or workaround would be greatly appreciated!