public function scopeLightSelection($query) { return $query->select('categories.id', 'categories.name', 'categories.category_id'); }