wallet-core: remember applied DB fixups

This commit is contained in:
Florian Dold 2023-01-11 14:20:23 +01:00
parent 668d7a213e
commit afd6f48b57
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -2390,6 +2390,9 @@ export async function applyFixups(
}
logger.info(`applying DB fixup ${fixupInstruction.name}`);
await fixupInstruction.fn(tx);
await tx.fixups.put({
fixupName: fixupInstruction.name,
});
}
});
}