I want only use created_at , how to do it?
I know:
This can custom timestamps name
const CREATED_AT = \'created\'; const UPDATED_AT = \'updat
In Laravel 5.7, this was enough for me to have it work:
In migration:
$table->timestamp('created_at')->nullable();
instead of classic $table->timestamp('created_at');
$table->timestamp('created_at');
In model:
const UPDATED_AT = null;