From 063a5ae8d2943db8f8f9efcb7836b7625df07d76 Mon Sep 17 00:00:00 2001 From: Fernanda Lemos Date: Fri, 6 May 2016 15:53:15 -0300 Subject: [PATCH] Put the payload column of jobs table to the end of insert statements. --- src/Illuminate/Queue/DatabaseQueue.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Queue/DatabaseQueue.php b/src/Illuminate/Queue/DatabaseQueue.php index 7aa6db81a9ad..76dae6e01b0c 100644 --- a/src/Illuminate/Queue/DatabaseQueue.php +++ b/src/Illuminate/Queue/DatabaseQueue.php @@ -270,12 +270,12 @@ protected function buildDatabaseRecord($queue, $payload, $availableAt, $attempts { return [ 'queue' => $queue, - 'payload' => $payload, 'attempts' => $attempts, 'reserved' => 0, 'reserved_at' => null, 'available_at' => $availableAt, 'created_at' => $this->getTime(), + 'payload' => $payload, ]; }