Mise à jour de Laravel de la requête
$affected = DB::table('users')
->where('id', 1)
->update(['votes' => 1]);
Alberto Peripolli
$affected = DB::table('users')
->where('id', 1)
->update(['votes' => 1]);
$user->roles()->withTrashed()->get();