mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
guarded
This commit is contained in:
parent
a6f9e5f0af
commit
18c32decad
1 changed files with 1 additions and 5 deletions
|
|
@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
class Environment extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'project_id',
|
||||
];
|
||||
|
||||
protected $guarded = [];
|
||||
public function isEmpty()
|
||||
{
|
||||
return $this->applications()->count() == 0 &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue