Мелкая поправка
This commit is contained in:
@@ -26,7 +26,8 @@ class ConnManager {
|
||||
const migs = migrations[poolConfig.poolName];
|
||||
if (migs && migs.data.length) {
|
||||
const applied = await connPool.migrate(migs.data, migs.table, force);
|
||||
log(`Applied ${applied.length} migrations to "${poolConfig.poolName}"`);
|
||||
if (applied.length)
|
||||
log(`Applied ${applied.length} migrations to "${poolConfig.poolName}"`);
|
||||
}
|
||||
|
||||
this._pool[poolConfig.poolName] = connPool;
|
||||
|
||||
Reference in New Issue
Block a user