Commit d06a9345 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Added explanation to Flyway init

parent eff2090e
......@@ -41,7 +41,7 @@ public class StartupListener implements javax.servlet.ServletContextListener {
System.out.println("VIPSCoreManager checking for database migrations");
// Migrate DB on startup using flywaydb.org
Flyway flyway = Flyway.configure()
.table("schema_version")
.table("schema_version") // This was done to ease the upgrade from v4 to v8 - which has "flyway_schema_history" as default name for this table
.dataSource(vipscoremanagerDS)
.load();
flyway.migrate();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment