From 7c8d3d04e51cace016474aea8a6ab9a8682f4ab8 Mon Sep 17 00:00:00 2001 From: Fernanda Date: Mon, 9 May 2016 10:22:00 -0300 Subject: [PATCH] Put the payload column of jobs table to the end of insert statements. (#13469) --- 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, ]; }