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