'boolean']; public function scopeActive($query) { return $query->where('is_active', true); } }