Join Slack
Powered by
Hey, is there a way to set createdAt/updatedAt fie...
# orm-help
m
matus.congrady
10/02/2018, 2:07 PM
Hey, is there a way to set createdAt/updatedAt fields? If no, what's the best workoaround?
n
nilan
10/02/2018, 2:28 PM
No, there's not. The workaround is to use other fields of type
DateTime
. There is an active discussion around changing this here:
https://github.com/prisma/prisma/issues/1278
👍 1
2
Views
Open in Slack
Previous
Next