Hello, I am new to prisma and I am trying to get a...
# prisma-client
m
Hello, I am new to prisma and I am trying to get a basic new model to work but any operation on it errors out with
Field does not exist on enclosing type.
I am using prisma version 3.6 with this schema definition.
Copy code
model KeepAlives {
  id       Int      @id @default(autoincrement())
  tfield   String
  seededAt DateTime @default(now())

  @@map("keep_alives")
}
I get the error when trying to execute this line:
*const* keepAliveArr *=*
*await* prisma.keepAlives.findMany()
.
n
Hey Matthew πŸ‘‹ this sounds very strange, I just tried to reproduce the problem using your schema and the Prisma query you showed but this worked fine for me. Can you maybe share more information that allows to reproduce the error? If you suspect this is a bug, then also feel free to create a new GitHub issue about this πŸ™‚
m
It’s weird because I have another model that works.
n
Yeah, getting a proper reproduction of this would be really helpful, otherwise it will be very difficult for us to solve. I’d say creating a GitHub issue and maybe sharing a minimal version of the problem as a standalone repo would be ideal so our Engineers can look into this πŸ™‚
m
I will see what I can do.
n
Thank you! πŸ’š πŸ™