Fix for displayed Roles at Users grid
This commit is contained in:
parent
75cdc8df43
commit
3fa08f9084
|
@ -13,6 +13,10 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac
|
||||||
{
|
{
|
||||||
use SoftDeletes, Authenticatable, Authorizable;
|
use SoftDeletes, Authenticatable, Authorizable;
|
||||||
|
|
||||||
|
protected $casts = [
|
||||||
|
'owner' => 'boolean',
|
||||||
|
];
|
||||||
|
|
||||||
public function account()
|
public function account()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Account::class);
|
return $this->belongsTo(Account::class);
|
||||||
|
|
Loading…
Reference in New Issue