Connection to Neon database fails in deployments

Hi @amyegan
My local .env file is not committed nor is uploaded during deployment to vercel. Instead, it is my understanding that by “connecting a project” the database’s necessary environment variables are made accessible to the project automatically:

From the Neon database Dashboard in Storage:

From the project’s environment variables menu in Settings:

Then the @vercel/postgres SDK would take care of getting the corresponding environment variable it needs. This is what I understand from the documentation.