mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 11:42:15 +01:00
Added failed jobs to admin panel
This commit is contained in:
committed by
Constantin Graf
parent
055d93f7a3
commit
855db81104
34
app/Models/FailedJob.php
Normal file
34
app/Models/FailedJob.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Support\Carbon;
|
||||
|
||||
/**
|
||||
* @property string $uuid
|
||||
* @property string $connection
|
||||
* @property string $queue
|
||||
* @property Carbon $failed_at
|
||||
*/
|
||||
class FailedJob extends Model
|
||||
{
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = false;
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array<string, string>
|
||||
*/
|
||||
protected $casts = [
|
||||
'failed_at' => 'datetime',
|
||||
'payload' => 'json',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user