pub fn ensure_current_schema(conn: &Connection) -> Result<(), String>Expand description
Refuse a newer schema and convert a v1 vault, so that a version read after this is a version of the converted vault. A caller that reads the version before the data (the safe order, see the server’s PUT handler) must call this first, or it pairs a v1 hash with a v2 document and its first save conflicts.