Every time the save method is called, laravel always automatically updates the update_at field. How to disable automatic updates
世界只因有你2017-05-16 16:51:57
If you need to keep created_at, just disable created_at
But try overriding this method
public function getUpdatedAtColumn() {
return null;
}
大家讲道理2017-05-16 16:51:57
Add
public $timestamps = false;
https://laravel-china.org/doc...