pub(crate) async fn migrate_sha256_media(services: &Services) -> ResultExpand description
Migrates a media directory from legacy base64 file names to sha2 file names.
All errors are fatal. The caller stamps the database only once this succeeds, so a pass that fails runs again on the next boot.