guarded
This commit is contained in:
parent
a6f9e5f0af
commit
18c32decad
@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Model;
|
|||||||
|
|
||||||
class Environment extends Model
|
class Environment extends Model
|
||||||
{
|
{
|
||||||
protected $fillable = [
|
protected $guarded = [];
|
||||||
'name',
|
|
||||||
'project_id',
|
|
||||||
];
|
|
||||||
|
|
||||||
public function isEmpty()
|
public function isEmpty()
|
||||||
{
|
{
|
||||||
return $this->applications()->count() == 0 &&
|
return $this->applications()->count() == 0 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user