createdAt/updatedAt field not generated after prisma deploy


#1

This is my datamodel.prisma

type Link {
id: ID! @id
updated_at: DateTime! @updatedAt
description: String!
title: String!
}

after prisma deploy only - id, description, title generated in my Prisma endpoint. but updated_at field is missing.


#2

Try changing the field name from “updated_at” to “updatedAt”.

If that doesn’t work, what is your prisma version ?