Skip to content

Commit

Permalink
Annotations: Add index for target.id (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed May 6, 2022
1 parent e773951 commit 854db8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/annotations.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ class MappingService {
const indexes = [
[{ id: 1 }, {}],
[{ target: 1 }, {}],
[{ "target.id": 1 }, {}],
[{ creator: 1 }, {}],
[{ "creator.id": 1 }, {}],
[{ "creator.name": 1 }, {}],
Expand Down

0 comments on commit 854db8d

Please sign in to comment.