Fixed issue with flyway migration #2
4
pom.xml
4
pom.xml
@ -43,6 +43,10 @@
|
||||
<configuration>
|
||||
<source>${maven.compiler.source}</source>
|
||||
<target>${maven.compiler.target}</target>
|
||||
<failOnError>true</failOnError>
|
||||
<compilerArgs>
|
||||
<arg>-Xlint:all</arg>
|
||||
</compilerArgs>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
|
@ -25,7 +25,7 @@ public class MigrationItem {
|
||||
}
|
||||
|
||||
public String[] getSchemas() {
|
||||
return flyway.getSchemas();
|
||||
return flyway.getConfiguration().getSchemas();
|
||||
}
|
||||
|
||||
public int qtyPending() {
|
||||
|
Reference in New Issue
Block a user