PrismaP
Prisma9mo ago
3 replies
Igor Tashevski

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'

generator client {
  provider = "prisma-client-js"
  output   = "./generated"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id Int @default(autoincrement()) @id
  email String @unique
  password String
}
Was this page helpful?