7.0 the column `(not available)` does not exist in the current database.
I'm getting an error trying to load a user since upgrading to 7.0. I've changed my imports and my client and generator.
The important parts of my schema.prisma:
7 Replies
You're in no rush, so we'll let a dev step in. Enjoy your coffee, or drop into
#ask-ai if you get antsy for a second opinion!my prisma.confing.ts:
my client:
When exactly do you get this error?
Does it happen when trying to query a user record?
Yes when I try and query a user record.
Prisma studio works fine but when I load my webpage which queries a user I get the above error
Did you migrate the schema AND generate the client?
I noticed that I saw some errors with my config, using the
satisfies PrismaConfig as I was using until now, but swapping to the defineConfig({}) format, seemed to fix issues.
Have you tried that, to see if it fixes the issue for you?This is also only happening on my dev machine
not on vercel
turns out I had conflicting env variables
Thanks for the help
Happy to help, even if my suggestion(s) werent on point 😄