pub fn validate_index_budget( entity: &Entity, keys: &[IndexKey], ) -> Result<(), DatabaseError>
Enforces a portable full-key budget before any native index is created.