From afd6f48b5782c1b9c2eb682c7c29cc131026bd95 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 11 Jan 2023 14:20:23 +0100 Subject: [PATCH] wallet-core: remember applied DB fixups --- packages/taler-wallet-core/src/db.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index ef44adc96..f3ef3aea5 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -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, + }); } }); }