Fix repair_stats_jobs migration not deleting jobs
This commit is contained in:
parent
4294de1a6d
commit
22d3cf0082
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ class RepairStatsJobs extends Migration
|
|||
foreach ($jobs as $job) {
|
||||
$payload = json_decode($job->payload);
|
||||
if ($payload->displayName === SetServiceStats::class) {
|
||||
$jobIDS[] = $job->id;
|
||||
|
||||
$ref = new ReflectionProperty(SetServiceStats::class, 'service');
|
||||
$ref->setAccessible(true);
|
||||
$service = $ref->getValue(unserialize($payload->data->command));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue