Prisma not returning createdAt timestamps

I have a table modeled in my schema.prisma file that looks like

model Maze {
  id        Int      @id @default(autoincrement())
  maze      Json[]
  createdAt DateTime @default(now())
}


When an item is inserted into this table it creates a timestamp which I can see on the table rows in my dashboard but when I query the table I cannot retrieve the timestamp column for some reason. I only receive back the
id
and maze fields.

const maze = await prisma.maze.findMany();
Was this page helpful?