You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it makes sense to set updated_at to the current time on events.beforeInsert. Many frameworks implement this behavior this way, and it seems better for application usage to avoid doing null checks on this field, etc.
Thoughts?
The text was updated successfully, but these errors were encountered:
To be more in line with how other frameworks implement this behavior,
and for application sanity, set the "updated at" field during
beforeInsert.
Closesjagi#1
I think it makes sense to set updated_at to the current time on
events.beforeInsert
. Many frameworks implement this behavior this way, and it seems better for application usage to avoid doing null checks on this field, etc.Thoughts?
The text was updated successfully, but these errors were encountered: