Skip to content

Commit

Permalink
fix(info): return applied migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
djMax committed Jan 12, 2024
1 parent abd86ae commit 0068e3b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/migrations/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,5 @@ export async function applyMigrationsInDirectory(config: NodeClickHouseClientCon
if (toApply.length > 0) {
return applyMigrations(targetDb, migrations);
}
return toApply.map((m) => m.filename);
}

0 comments on commit 0068e3b

Please sign in to comment.