diff --git a/app/User.php b/app/User.php index 8272241..ee0e739 100644 --- a/app/User.php +++ b/app/User.php @@ -13,6 +13,10 @@ class User extends Model implements AuthenticatableContract, AuthorizableContrac { use SoftDeletes, Authenticatable, Authorizable; + protected $casts = [ + 'owner' => 'boolean', + ]; + public function account() { return $this->belongsTo(Account::class);