We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2168886 commit b717b5bCopy full SHA for b717b5b
.gitignore
@@ -2,4 +2,5 @@ build
2
composer.lock
3
docs
4
vendor
5
-coverage
+coverage
6
+.envrc
src/FailedJob.php
@@ -12,6 +12,15 @@ class FailedJob extends Model
12
13
protected $casts = ['failed_at' => 'datetime'];
14
15
+ public function __construct(array $attributes = [])
16
+ {
17
+ if (config('queue.failed.table')) {
18
+ $this->table = config('queue.failed.table');
19
+ }
20
+
21
+ parent::__construct($attributes);
22
23
24
public function setPayloadAttribute($payload)
25
{
26
$this->attributes['payload'] = serialize($payload);
0 commit comments