'array', 'is_system' => 'boolean', ]; public function scopeNotSystem($query) { return $query->where('is_system', false); } }