How to manage flyway migration across multiple apps sharing same database.
- Service-A based on Spring Boot, points to Database-A
- Service-B based on Spring Boot, points to Database-A
- Service-C based on Spring Boot, points to Database-A
How should we manage flyway migration scripts
- Should we have a separate repository for managing the database scripts
- Since each of the services are launched as docker containers and we don't want the migration to be triggered on each of the container
- What would be the preferred way to manage the flyway migration scripts, so that it allows us to rollback or promote changes in a CI/CD environment