Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
VIPS
VIPSCoreManager
Commits
d06a9345
Commit
d06a9345
authored
Jan 05, 2022
by
Tor-Einar Skog
Browse files
Added explanation to Flyway init
parent
eff2090e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/no/nibio/vips/coremanager/startup/StartupListener.java
View file @
d06a9345
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment