F0rce
Explore posts from serversDTDrizzle Team
•Created by F0rce on 5/19/2023 in #help
executing an `update` statement does not use `.onUpdateNow()` defined in schema
Hello everyone 🙂
I have the following schema for my
USERS
table:
As I understand correctly, as soon as I use db.update(users)...
the updatedAt should be automatically be set to new Data
:
The email and hostname values are updated accordingly but the updatedAt column does not seem to be touched.
Am I missunderstanding something here ?
Thanks in advance,
David7 replies