I have a table in my db that includes a nullable timestamp column.
$table->timestamp('custom_timestamp')->nullable();
When the row in the db is created this column will be null. Later when the user does this specific thing I want to update this column with the timestamp when the user did this.
My question: What is the syntax for adding the custom timestamp to this column?
Pseudo code explanation:
$myObject->custom_timestamp = *AD THE CURRENT TIME*;
$myObject->save();
EDIT: If you downvote a seemingly legit question please explain your concerns in the comments