Set the model
$timestampsproperty tofalse.Eloquent will always automatically manage
created_atandupdated_atcolumns.Set the model
$created_atandupdated_atproperties tofalse.
I searched the net and found a lot of solution and what must be the real answer to this question,
I found that we can disable it add a line into the eloquent to make timestamp false
class User extends Eloquent {
protected $table = 'users';
public $timestamps = false;
}
But we can also remove the created_at and updated_at and do not use it in the model so 3rd point is also true here?
So what is the proper solution for this question?