FIXME cleanup
This commit is contained in:
parent
4cdde60917
commit
8ee06855d7
|
@ -98,7 +98,7 @@ public class FlywayMigrator {
|
||||||
}
|
}
|
||||||
|
|
||||||
private Flyway initFlyway(DriverTypeEnum.ConnectionProperties theConnectionProperties) {
|
private Flyway initFlyway(DriverTypeEnum.ConnectionProperties theConnectionProperties) {
|
||||||
// FIXME KHS Try creating from datasource
|
// TODO KHS Is there a way we can use datasource instead of url, username, password here
|
||||||
Flyway flyway = Flyway.configure()
|
Flyway flyway = Flyway.configure()
|
||||||
.dataSource(myConnectionUrl, myUsername, myPassword)
|
.dataSource(myConnectionUrl, myUsername, myPassword)
|
||||||
.baselineOnMigrate(true)
|
.baselineOnMigrate(true)
|
||||||
|
|
Loading…
Reference in New Issue