app/Jobs/WorkOrder/Session/Start.php
public function handle()
    {
        $session = new WorkOrderSession();

        $session->user_id = auth()->id();
        $session->work_order_id = $this->workOrder->id;
        $session->in = $session->freshTimestamp();

        if ($this->workOrder->sessions->count() === 0 || is_null($this->workOrder->started_at)) {
            $this->workOrder->update(['started_at' => $this->workOrder->freshTimestamp()]);
        }

        return $session->save();
    }
public function handle()
    {
        $session = new WorkOrderSession();

        $session->user_id = auth()->id();
        $session->work_order_id = $this->workOrder->id;
        $session->in = $session->freshTimestamp();

        if ($this->workOrder->sessions->count() === 0 || is_null($this->workOrder->started_at)) {
            $this->workOrder->update(['started_at' => $this->workOrder->freshTimestamp()]);
        }

        return $session->save();
    }
Execute the job.

@return bool