Added Hellcase Battle job
All checks were successful
Push image to registry / build-image (push) Successful in 5m59s
All checks were successful
Push image to registry / build-image (push) Successful in 5m59s
Still need testing and making proper notifications
This commit is contained in:
@ -21,6 +21,16 @@ class Job extends Model
|
||||
return $this->hasMany(JobInfo::class)->with("jobInfoType")->orderBy("created_at");
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an associative collection of the job infos with their values
|
||||
* @return \Illuminate\Database\Eloquent\Collection<string, string>>
|
||||
*/
|
||||
public function jobInfosTable() {
|
||||
return $this->jobInfos->mapWithKeys(function ($jobInfo) {
|
||||
return [$jobInfo->key => $jobInfo->value];
|
||||
});
|
||||
}
|
||||
|
||||
public function jobRuns()
|
||||
{
|
||||
return $this->hasMany(JobRun::class)->orderBy("created_at");
|
||||
|
Reference in New Issue
Block a user