feat(core): prevent using servers with existing resources as build servers

This commit is contained in:
Andras Bacsai committed 2025-02-18 16:44:16 +01:00
1 parent 372b064dba
commit 65b925252c
3 files changed
+22 -1

No files matched your search

+7
View File
@@ -1341,4 +1341,11 @@ $schema://$host {
throw new \Exception('Invalid proxy type.');
}
}
public function isEmpty()
{
return $this->applications()->count() == 0 &&
$this->databases()->count() == 0 &&
$this->services()->count() == 0;
}
}