Prisma client doesn't get updated with new columns after db pull
As you can see in the screenshot, there is a
user_auth_token
in the schema that showed up after I prisma db pull
. I then use prisma generate
to regenerate the prisma client but I still can't update this field.
Solution:Jump to solution
Hi @Kawthar
That's actually strange. Can you try restarting your tpescript server in VScode or restarting the IDE?...
2 Replies
Solution
Hi @Kawthar
That's actually strange. Can you try restarting your tpescript server in VScode or restarting the IDE?
Hi, yea I managed to get it working. I am not sure what exactly fixed it as I made all at once but I closed my IDE, went to the prisma folder through my explorer an deleted the schema. After pulling and generating again it worked.