Now I have a spring-boot app which uses MsSQL server. And we use flyway for migrations.
I want to add an additional profile for tests. I want to generate tables from entity classes instead of using flyway.
I tried smth to write like this in application.yaml
spring:
profiles: test
jpa:
generate-ddl: true
hibernate:
datasource:
url: jdbc:h2:mem:test_db;MODE=MSSQLServer
username: sa
password:
but flyway starts anyway