Created
June 7, 2019 09:44
-
-
Save FRosner/8d46d2284991b4068febbdb6d9e22431 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val (host, port, dbName, username, password) = getConnectionDetails() | |
val jdbcUrl = "jdbc:postgresql://$host:$port/$dbName" | |
Flyway.configure() | |
.dataSource(jdbcUrl, username, password) | |
.load() | |
.migrate() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment