Skip to content

Commit

Permalink
Clarified a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
The4thLaw committed Mar 1, 2024
1 parent 38af23a commit d3013d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void migrateH2IfNeeded(boolean isNewDatabase, String url, String dbUser,
}
}

// Always write the current H2 version
// Always write the current H2 version, as long as the migration succeeded
try {
Files.write(databaseVersionFile, String.valueOf(Constants.BUILD_ID).getBytes(StandardCharsets.UTF_8));
} catch (IOException e) {
Expand Down

0 comments on commit d3013d7

Please sign in to comment.