Skip to content

Commit

Permalink
edit execute logic
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminpeng committed Jul 27, 2024
1 parent 74bfb98 commit 28ee369
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ public void migrate() {
log.info("versionCount={}", sortedVersions.size());

String currentVersion = sortedVersions.get(sortedVersions.size() - 1).getVersion();
log.info("currentVersion={}", currentVersion);

if (VersionUtils.isLessThan(currentVersion, "4.3.0")) {
if (VersionUtils.isGreaterThan(currentVersion, "4.3.0.0")) {
log.info("delete check, currentVersion={}", currentVersion);
execute.executeDeleteBeforeCheck(configuration.getDataSource());
}

Expand Down

0 comments on commit 28ee369

Please sign in to comment.