feat: dockerCleanupExecutions relationship
This commit is contained in:
parent
52abc7cc92
commit
222af12ef0
1 changed files with 5 additions and 0 deletions
|
|
@ -199,6 +199,11 @@ public function settings()
|
|||
return $this->hasOne(ServerSetting::class);
|
||||
}
|
||||
|
||||
public function dockerCleanupExecutions()
|
||||
{
|
||||
return $this->hasMany(DockerCleanupExecution::class);
|
||||
}
|
||||
|
||||
public function proxySet()
|
||||
{
|
||||
return $this->proxyType() && $this->proxyType() !== 'NONE' && $this->isFunctional() && ! $this->isSwarmWorker() && ! $this->settings->is_build_server;
|
||||
|
|
|
|||
Loading…
Reference in a new issue