Does prisma 2 come out of the box with createdAt /...
# prisma-client
n
Does prisma 2 come out of the box with createdAt / updatedAt properties on entities? If so how do we need to specify this?
Sorry prisma-client.
t
Copy code
createdAt          DateTime             @default(now())
  updatedAt          DateTime?            @updatedAt
The above is what my team did. Just add that to the model you would like to have those fields on.
1
n
Sounds good, thank you!