Prisma 1 Forum

createdAt/updatedAt field not generated after prisma deploy

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.


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

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

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.