private void populateMigrationsMap() throws IOException {
        if (moduleToScriptMap.isEmpty()) {
            Path projectRoot = Paths.get("../").toAbsolutePath().normalize();

            try (Stream<Path> stream = Files.list(projectRoot)) {
                stream
                        .filter(Files::isDirectory)
                        .filter(path -> path.getFileName().toString().startsWith("stroom-"))
                        .sorted()
                        .forEach(this::inspectModule);
            }

            maxFileNameLength = moduleToScriptMap.values().stream()
                    .flatMap(value -> value.stream()
                            .map(Script::fileName))
                    .mapToInt(String::length)
                    .max()
                    .orElse(60);
        }
    }
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