New function for timestamps with default useCurrent and useCurrentOnUpdates #54742
Unanswered
felprangel
asked this question in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using the
timestamps
function, everything works as expected using the Eloquent model, but sometimes I need to use the mysql cli to insert or update the database. I think it would be nice to have a timestamp function that automatically does this, instead of writing:I think of something like this:
If it's ok I'd like to make a contribuition about this.
What do y'all think?
Beta Was this translation helpful? Give feedback.
All reactions