custom fields error

Hi everyone, I'm using ESlint. I removed the "name" field from the original schema.prisma and replaced it with "firstName" and "lastName." I regenerated both the DB and the client with but it still gives me the incorrect firstName and lastName properties. Do you know how to fix this? Thanks a lot.
3 Replies
FʀᴀOʀᴏ
FʀᴀOʀᴏOP19h ago
plugins: [inferAdditionalFields<typeof auth>()],
plugins: [inferAdditionalFields<typeof auth>()],
"name" no longer exists in the DB, nor in prisma.scheme, why does it keep asking me for it?

Did you find this page helpful?