Skip to content

Commit

Permalink
fix: add missing team member index
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffroy Empain committed Jan 7, 2021
1 parent 03c5d3f commit bdcee5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/db/setup-db-indexes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,11 @@ export async function setupDbIndexes() {
},
],
[Teams().collectionName]: [
{
fieldOrSpec: {
members: 1,
},
},
{
fieldOrSpec: {
name: 'text',
Expand Down

0 comments on commit bdcee5a

Please sign in to comment.