'Is it needed to stop Spring Boot application during Flyway migration?

I have Spring Boot application container deployed in k8s. And I have separate container with Flyway image. I need to make a migration in PostgreSQL DB. Do I need to stop the Spring Boot application container before the migration? Or the application will automatically catch the changes in the DB and fail in case of inappropriate DB schema?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source