can't find meta/_journal.json file on prod | DRIZZLE
Hi folks,
I've finally moved my database and orm to drizzle and pg (I'm using render.com pg database for now) from prisma and mongodb. Everything works fine on local dev and prod envs. However, I'm having this error when my application tries to connect to db in production:
I see this solution shared on the drizzle forum which I already did before: https://www.answeroverflow.com/m/1093225882879017080
see below for my drizzle configs
you can see my drizzle folder in the first picture. I can see the same folder structure and _journal.json file on vercel source page (pic 2)
Do you have any idea to solve this error? Thanks in advance for your helps! Let me know if you require more information about the project or question.
the repo: https://github.com/4Furki4/Turkish-Dictionary (branch 4furki4/issue55)
live: https://turkish-dictionary-git-4furki4-issue55-4furki4.vercel.app/
1 Reply
calling this async migrate function in the migrateToLatest seems solved the issue. BUT IDK WHY