From df9b3f3ba9f11d13eb97805b85cc43b9908b2486 Mon Sep 17 00:00:00 2001 From: Tan Le Date: Thu, 13 Jun 2024 15:05:14 +0700 Subject: [PATCH] chore: update log message --- packages/store/migrations/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/store/migrations/index.ts b/packages/store/migrations/index.ts index de2d98ee5..49bf11e34 100644 --- a/packages/store/migrations/index.ts +++ b/packages/store/migrations/index.ts @@ -32,9 +32,8 @@ export const migrateDatabase = async ( const storedVersion = setting?.config?.storageVersion || 0; const latestVersion = getLatestMigrationVersion(); - logger.info(storedVersion, latestVersion); - if (storedVersion < latestVersion) { + logger.info(`migrating from ${storedVersion} to ${latestVersion}`); const newerVersionFilter = (i: Migration) => i.version > storedVersion && (i.scope === 'all' || i.scope === scope);