So, in my project I have used application.properties file. I have three questions here. 1) I provided spring datasource properties like below.
spring.datasource.driverClassName = com.mysql.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/abc
spring.datasource.username =
spring.datasource.password =
Even without providing flyway properties i.e., flyway.url my application is able to run successfully. How is it possible? Flyway does not require it when spring properties are provided?
2) For other properties of flyway I use it works only like below
spring.flyway.table=version_history
but it does not work for spring.flyway.defaultSchema=trial. No idea on this.
3) How to achieve migrations for multiple schemas. Any example?