title: Laravel Update Database not working in job queue but works in sync
body: <p>I am trying to update a database row within a queued job which works when my queue connection is set to <code>sync</code> but now when it's set to <code>database</code>. </p>
  
  <p>Edit: Fixed Serialization issue, update db in queue issue still persists.</p>
  
  <pre><code>public function handle()
      {
  
        $id = $this-&gt;settings-&gt;id;
        $server = $this-&gt;settings-&gt;server;
        $number = $this-&gt;settings-&gt;number;
        $api_script = storage_path('script.py');
        $delay = 5;
  
        //Determine Delay
  
        //Process Script Here
  
        //Check If Script Successful
  
        DB::table('orders')-&gt;where('order_id', $this-&gt;settings-&gt;order_id)-&gt;update(['status' =&gt; "Finalising..."]);
  
        ProcessEmails::dispatch($this-&gt;settings)-&gt;delay(now()-&gt;addMinutes($delay));
        // echo $process-&gt;getOutput();
      }
  </code></pre>
  
  <p>Above is the job that I want to execute, the update database command works in sync but not when the connection is set to database. </p>
  
  <p>Thanks for your help!</p>