Every time the save method is called, laravel always automatically updates the update_at field. How to disable automatic updates
If you need to keep created_at, just disable created_atBut try overriding this method
public function getUpdatedAtColumn() { return null; }
Add public $timestamps = false;
https://laravel-china.org/doc...
If you need to keep created_at, just disable created_at
But try overriding this method
Add
to modelpublic $timestamps = false;
https://laravel-china.org/doc...