Is there a way to change the value for `createdAt`...
# prisma-whats-new
p
Is there a way to change the value for
createdAt
and
updatedAt
fields? I'm trying to migrate an existing Postgre database and I'd like to keep these values without creating fields such as
actualCreatedAt
...
a
The
createdAt
and
updatedAt
fields are no longer created automatically. I haven't tested if that also means you can overwrite them when you add them manually.
p
I just tried running a mutation to change such values but the data shows the date at which I ran the query instead of the valule I assigned. 😞