From cb52a2e2696c5a921f13e27b5076e5c7de24187b Mon Sep 17 00:00:00 2001 From: Alf Drollinger Date: Thu, 7 Mar 2024 14:43:34 +0100 Subject: [PATCH] Jobs V3 w-i-p --- packages/jobs/src/Models/FailedJob.php | 12 ------------ packages/jobs/src/Models/JobManager.php | 10 ---------- 2 files changed, 22 deletions(-) diff --git a/packages/jobs/src/Models/FailedJob.php b/packages/jobs/src/Models/FailedJob.php index e0ee5d5d1..adc8219df 100644 --- a/packages/jobs/src/Models/FailedJob.php +++ b/packages/jobs/src/Models/FailedJob.php @@ -7,16 +7,4 @@ class FailedJob extends Model { public $timestamps = false; - - /** - * The attributes that are mass assignable. - * - * @var array - */ - protected $fillable = [ - 'uuid', - 'connection', - 'queue', - 'failed_at', - ]; } diff --git a/packages/jobs/src/Models/JobManager.php b/packages/jobs/src/Models/JobManager.php index 1ed959e0f..03235f268 100644 --- a/packages/jobs/src/Models/JobManager.php +++ b/packages/jobs/src/Models/JobManager.php @@ -14,11 +14,6 @@ class JobManager extends Model protected $table = 'job_manager'; - /** - * The attributes that are mass assignable. - * - * @var array - */ protected $fillable = [ 'job_id', 'name', @@ -32,11 +27,6 @@ class JobManager extends Model 'status', ]; - /** - * The attributes that should be cast. - * - * @var array - */ protected $casts = [ 'failed' => 'bool', 'started_at' => 'datetime',