Next.js Discord

Discord Forum

Nextjs app database mismatch with Vercel postgres db

Unanswered
Egyptian Mau posted this in #help-forum
Open in Discord
Egyptian MauOP
Hi, I'm following the Nextjs 14 Dashboard app tutorial with my own customisations. I have created a new table in vercel-postgres db and seeded it with data. I then created a new entry in this table from the app using the CRUD server actions. However, when I drop the table in vercel, I still see the entry I added previously via the app. This means that the vercel db is not in sync with what the application sees (some local db?). I tried to resolve this be deleting the Vercel data cache and running the app in Incognito mode to avoid any client side caching. This did not solve the problem.

My specific NextJS version is 14.0.2.

What am I doing wrong?

1 Reply

Egyptian MauOP
Found the issue: I was missing a noStore() in the fetch action.