Skip to content

Commit

Permalink
Put the payload column of jobs table to the end of insert statements. (
Browse files Browse the repository at this point in the history
  • Loading branch information
fsblemos authored and taylorotwell committed May 9, 2016
1 parent 0aa6765 commit 7c8d3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/DatabaseQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
];
}

Expand Down

0 comments on commit 7c8d3d0

Please sign in to comment.