protected List<JavaMigration> getCrossModuleMigrations(final Injector injector) {
        return injector.getInstance(
                        Key.get(GuiceUtil.setOf(AbstractCrossModuleJavaDbMigration.class)))
                .stream()
                .map(obj -> (JavaMigration) obj)
                .collect(Collectors.toCollection(ArrayList::new));
    }
This DB module is a bit special. The aim is run java only flyway migrations across all
dbConnProviders, so we can do cross-module migrations. You can't do SQL migrations as
each module could potentially be on a different database instance/connection.
stroom-app/src/main/java/stroom/app/db/migration/CrossModuleDbMigrationsModule.java