From 74fe4c2d9521923c415d18a21ed4f34c94737d4d Mon Sep 17 00:00:00 2001 From: Darrel O'Pry Date: Fri, 21 Jun 2024 14:36:58 -0400 Subject: [PATCH] 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