SQLite auto-update timestamp
I'm trying to auto-update timestamp when using SQLite.
This is my try, but it doesn't work:
Can you tell me how to make it work? The createdAt one works correctly.
updatedAt gives:
2 Replies
For
$onUpdateFn
you’ll want to just pass a JS date object:
thanks!