Cal. Penal Code § 880
Infants who are material witnesses against the defendant may be required to procure sureties for their appearance, as provided in the last section.