I am about to save an additional timestamp to db: last_sent
I want to save it in the same way as the default timestamps (created_at and updated_at) - meaning that I am going to migrate it like so:
$table->timestamp('last_sent')->nullable
(It will be null sometimes..)
My question is what format on the time value should I save to this column?
I found two options but am not sure what is correct:
Carbon\Carbon::now()->toDateTimeString();
or just
Carbon\Carbon::now();
What is the correct way to save the date and time to get it like default timestamps?
