P
Prisma9mo ago
Kawthar

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.
No description
Solution:
Hi @Kawthar That's actually strange. Can you try restarting your tpescript server in VScode or restarting the IDE?...
Jump to solution
2 Replies
Solution
RaphaelEtim
RaphaelEtim9mo ago
Hi @Kawthar That's actually strange. Can you try restarting your tpescript server in VScode or restarting the IDE?
Kawthar
KawtharOP9mo ago
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.

Did you find this page helpful?