@Test
    void listDbMigrationsByModule() throws IOException {

        populateMigrationsMap();

        final ColouredStringBuilder stringBuilder = new ColouredStringBuilder();

        final Comparator<String> moduleComparator = buildModuleNameComparator();

        moduleToScriptMap.entrySet().stream()
                .sorted(Map.Entry.comparingByKey(moduleComparator))
                .forEach(entry -> {
                    stringBuilder
                            .appendMagenta(entry.getKey())
                            .append("\n");
                    entry.getValue()
                            .forEach(script -> {
                                appendScript(stringBuilder, script, "  ");
                            });
                    stringBuilder.append("\n");
                });
//        LOGGER.info("\n{}", stringBuilder.toString());
        System.out.println(stringBuilder.toString());
    }
Finds all the v7 DB migration scripts and dumps them out in order.
Useful for seeing the sql and java migrations together
stroom-app/src/test/java/stroom/db/migration/TestListDbMigrations.java