Igor Tashevski
PPrisma
•Created by Igor Tashevski on 5/11/2025 in #help-and-questions
migrate dev not working in prisma 6.7.0
Hi,
I'm having issuew with @prisma/client types...
After running the migrate dev command, types are not generated...
Error
Module '"@prisma/client"' has no exported member 'User'
4 replies
PPrisma
•Created by Igor Tashevski on 5/1/2025 in #help-and-questions
PrismaClientKnownRequestError
I'm getting error that table can't be found.
It's not working even after migrate dev --name users and generate commands.
model User {
id Int @default(autoincrement()) @id
email String @unique
password String
@@map("users")
}
Model is using @@Map, and running from Nest.JS throws error that table can't be found:
Failing on await this.prismaService.user.create
The table
public.User
does not exist in the current database6 replies