From 8df96c977ab75d3d0e9e5388df72658bc28e647f Mon Sep 17 00:00:00 2001 From: Sergej Atamantschuk Date: Mon, 8 Nov 2021 09:58:23 +0100 Subject: [PATCH] fix(migration): correctly create resources to files mapping --- .../migrations/1635938951586-DLA-map-resources-to-hashes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/migrations/1635938951586-DLA-map-resources-to-hashes.js b/migration/migrations/1635938951586-DLA-map-resources-to-hashes.js index ad263849..52e96752 100644 --- a/migration/migrations/1635938951586-DLA-map-resources-to-hashes.js +++ b/migration/migrations/1635938951586-DLA-map-resources-to-hashes.js @@ -29,7 +29,7 @@ const createUuidToHashMappings = async () => { )) { const migrationData = pageData.map(({ id, uniqueFingerprint }) => ({ resourceId: id, - uniqueFingerprint, + fileHashSha256: uniqueFingerprint, })); await divaLakeMongoDbConnector.collections[ divaLakeCollectionName