Add notes
All checks were successful
Go Test / test (push) Successful in 26s

This commit is contained in:
Fred Boniface 2024-04-23 00:32:03 +01:00
parent fe059abd6c
commit 6cfddee1f3

View File

@ -182,6 +182,7 @@ func CreateTimetableIndexes() error {
}, },
Options: options.Index().SetName("find_by_headcode"), Options: options.Index().SetName("find_by_headcode"),
}, },
// Add index for VSTP to allow deletion of non-VSTP only entries
} }
_, err := coll.Indexes().CreateMany(context.Background(), indexModels) _, err := coll.Indexes().CreateMany(context.Background(), indexModels)