added missing chunk index

This commit is contained in:
Andris Reinman 2017-11-08 11:02:30 +02:00
parent 8dbb31916c
commit 04eabbbecd

View file

@ -311,6 +311,14 @@ indexes:
name: chunks_shard
key:
files_id: hashed
- collection: attachments.chunks
type: gridfs # index applies to gridfs database
index:
name: files_id_1_n_1
unique: true
key:
files_id: 1
n: 1
# Indexes for the journal collection