Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 233de9a

Browse files
committed
fix: adds missing 'deletet_at' date mutator in User entity
1 parent 8002e1c commit 233de9a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/Entities/User.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ class User extends Authenticatable
1919
HasRolesUuid::getStoredRole insteadof HasRoles;
2020
}
2121

22+
/**
23+
* The attributes that should be mutated to dates.
24+
*
25+
* @var array
26+
*/
27+
protected $dates = [
28+
'deleted_at',
29+
];
30+
2231
/**
2332
* The attributes that are mass assignable.
2433
*

0 commit comments

Comments
 (0)