Skip to content

Commit f54010d

Browse files
committed
Merge branch 'patch-3' of https://github.com/jamierumbelow/docs into jamierumbelow-patch-3
2 parents 04322ca + 797521d commit f54010d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

upgrade.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,17 @@ In order to provide support for Laravel 5.4's new Markdown mail components, you
324324

325325
In order to queue mail, you now must use a [mailable](/docs/{{version}}/mail). Queuing mail using the `Mail::queue` and `Mail::later` methods no longer supports using Closures to configure the mail message. This feature required the use of special libraries to serialize Closures since PHP does not natively support this feature.
326326

327+
### Queue
328+
329+
#### Failed Jobs Log Schema Change
330+
331+
Laravel 5.4 adjusts the `failed_jobs` schema. When an uncaught exception is thrown within a job the queue worker will cast the exception as a `string` and insert it alongside the other job information.
332+
333+
If you're using the failed jobs functionality, you'll need to add the `exception` column to the `failed_jobs` table (or whatever else you've called it – the table name is set in `config/queue.php:failed.table`):
334+
335+
$table->longText('exception')->after('payload');
336+
337+
327338
### Redis
328339

329340
#### Improved Clustering Support

0 commit comments

Comments
 (0)