DATABASE_URL conflict between Vercel and Neon?
Hi everyone. I am setting up Neon with github actions for a project using the tutorial provided here: https://neon.tech/blog/branching-with-preview-environments#:~:text=When%20you%20open%20the%20deploy%2Dproduction.yml%20file%2C%20you%20will%20see%20the%20following%3A
It looks like it's working fine : when I generate + migrate the prisma schema, I can see the tables being created in Neon. However, when using the app, it seems that the DATABASE_URL that it points to is still the one indicated in the vercel environment variables. Therefore, my tables remain desperately empty.
Note: I am not (yet?) using the Neon integration in vercel.
Am I doing anything wrong? Thanks in advance
It looks like it's working fine : when I generate + migrate the prisma schema, I can see the tables being created in Neon. However, when using the app, it seems that the DATABASE_URL that it points to is still the one indicated in the vercel environment variables. Therefore, my tables remain desperately empty.
Note: I am not (yet?) using the Neon integration in vercel.
Am I doing anything wrong? Thanks in advance
Neon
Learn how to create a Neon branch for every preview environment using Neon, GitHub Actions, and Vercel.

