pub fn run(
path: &Path,
file: VaultFile,
profile: &str,
) -> SafeResult<(VaultFile, bool)>Expand description
Check whether file needs upgrading and, if so, apply all pending
migrations, write the result back to path, and return true.
Returns false when the schema is already current.
Returns Err when the schema is unknown or a transform fails.