@Override
    public void runMigrations() {
        createMigrationsIndexIfNotExists();
        super.runMigrations();
    }
@Test
    void testValidateIndicesNoIndexPrefix() throws IOException {
        ElasticSearchDBCreator elasticSearchDBCreator = new ElasticSearchDBCreator(elasticSearchStorageProviderMock, elasticSearchClient(), null);
        assertThatThrownBy(elasticSearchDBCreator::validateIndices)
                .isInstanceOf(JobRunrException.class)
                .hasMessage("Not all required indices are available by JobRunr!");

        elasticSearchDBCreator.runMigrations();

        assertThatCode(elasticSearchDBCreator::validateIndices).doesNotThrowAnyException();
        assertThat(elasticSearchClient().indices().get(g -> g.index("*")).result()).hasSize(5);
    }