Skip to content

Commit

Permalink
chore: update log message
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlethanh committed Jun 13, 2024
1 parent d06c39e commit df9b3f3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/store/migrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit df9b3f3

Please sign in to comment.