I'm noticing if I have the following columns in a ...
# orm-help
c
I'm noticing if I have the following columns in a model
Copy code
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
Prisma seems to set an
updatedAt
value a fraction of a second after the
createdAt
value when a record is created, even if the record wasn't updated. I don't remember that being the case when using a previous query builder (Knex.js). Anyone else notice this?
j
Ian got it right. If this is a problem or confusing to you, please open an issue in our issue tracker about this. These are taken into account to inform what we work on or what needs fixing.