Skip to content

Commit

Permalink
Warn that database recreation may take a while
Browse files Browse the repository at this point in the history
  • Loading branch information
theotherp committed Oct 31, 2019
1 parent d0f72db commit e91922c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/main/java/org/nzbhydra/NzbHydra.java
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ private static void runDatabaseScript() throws ClassNotFoundException, SQLExcept
if (databaseScriptFile.exists()) {
databaseScriptFile.delete();
}
logger.info("Recreating database to ensure successful migration. This may take a couple of minutes...");

try (Connection conn = DriverManager.getConnection(url, "SA", "")) {
logger.info("Creating database script {} from database", databaseScriptFile.getAbsolutePath());
Expand Down

0 comments on commit e91922c

Please sign in to comment.