Merge pull request #3186 from valentinschabschneider/main

feat: order scheduled task executions
This commit is contained in:
Andras Bacsai 2024-08-26 10:30:44 +02:00 committed by GitHub
commit 1a232b9b10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,6 +26,6 @@ public function latest_log(): HasOne
public function executions(): HasMany
{
return $this->hasMany(ScheduledTaskExecution::class);
return $this->hasMany(ScheduledTaskExecution::class)->orderBy('created_at', 'desc');
}
}