pub fn update(root: &Path, dry_run: bool) -> Result<(), String>
Run every pending migration, regenerate, and record the new version.