From 74fe4c2d9521923c415d18a21ed4f34c94737d4d Mon Sep 17 00:00:00 2001 From: Darrel O'Pry Date: Fri, 21 Jun 2024 14:36:58 -0400 Subject: [PATCH 1/2] fix: store failing validation after schema change Defer validation until after migrations are applied so that the store can be updated to the current schema. Migrate store before validating store --- source/index.ts | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/source/index.ts b/source/index.ts index 7b5b62c..f71e65c 100644 --- a/source/index.ts +++ b/source/index.ts @@ -137,6 +137,15 @@ export default class Conf = Record = Record Date: Sat, 22 Jun 2024 12:03:49 +0200 Subject: [PATCH 2/2] Update index.ts --- source/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/source/index.ts b/source/index.ts index f71e65c..692815a 100644 --- a/source/index.ts +++ b/source/index.ts @@ -146,6 +146,7 @@ export default class Conf = Record