Umgang mit Deadlocks Laravel

DB::transaction(function () {
    DB::table('users')->update(['votes' => 1]);

    DB::table('posts')->delete();
}, );
Super Starling