This commit is contained in:
xiaojunnuo
2024-07-24 00:42:50 +08:00
parent a2c43b50a6
commit 6693d1acfb
6 changed files with 11 additions and 19 deletions
@@ -227,8 +227,10 @@ export class Flyway {
if (history.hash !== hash && this.allowHashNotMatch === false) {
throw new Error(file + `hash conflict ,old: ${history.hash} != new: ${hash}`);
}
this.logger.info('[ midfly ] script<' + file + '> already executed');
return true;
}
this.logger.info('[ midfly ] script<' + file + '> not yet execute');
return false;
}