This commit is contained in:
Andras Bacsai 2023-10-24 10:43:34 +02:00
parent a6f9e5f0af
commit 18c32decad

View File

@ -7,11 +7,7 @@
class Environment extends Model
{
protected $fillable = [
'name',
'project_id',
];
protected $guarded = [];
public function isEmpty()
{
return $this->applications()->count() == 0 &&