Skip to content

Commit a514426

Browse files
committed
Adding indexes on uuid for ArtifactArchiveListing
1 parent 369543c commit a514426

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

strongbox-db-schema/src/main/java/org/carlspring/strongbox/db/schema/StrongboxSchema.java

+5
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ protected Set<String> createIndexes(JanusGraph jg,
245245
jgm.getVertexLabel(USER),
246246
true,
247247
jgm.getPropertyKey(UUID)).ifPresent(result::add);
248+
buildIndexIfNecessary(jgm,
249+
Vertex.class,
250+
jgm.getVertexLabel(ARTIFACT_ARCHIVE_LISTING),
251+
true,
252+
jgm.getPropertyKey(UUID)).ifPresent(result::add);
248253

249254
return result;
250255
}

0 commit comments

Comments
 (0)