Skip to content

Commit cb392f2

Browse files
authored
Merge pull request #46 from usdot-jpo-ode/develop
Release 2025-Q3 Sync'ing USDOT Changes
2 parents 8d558ff + a37be74 commit cb392f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mongo/create_indexes.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ function createGeoSpatialIndex(collection){
445445
}
446446

447447
function createAdditionalIndexes(collection){
448+
const collectionName = collection['name'];
448449
for (const additionalIndex of collection['additionalIndexes'] || []) {
449450
console.log("Creating additional index for " + collectionName + " with index: " + JSON.stringify(additionalIndex));
450451
const index_name = Object.entries(additionalIndex).map(([key, value]) => `${key}_${value}`).join("_");

0 commit comments

Comments
 (0)