mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 10:50:46 -05:00
Fix indexes
This commit is contained in:
parent
29ad81c134
commit
6a371c267f
1 changed files with 1 additions and 1 deletions
|
@ -124,4 +124,4 @@ module.exports = MongoManager =
|
||||||
# For finding project meta-data
|
# For finding project meta-data
|
||||||
db.projectHistoryMetaData.ensureIndex { project_id: 1 }
|
db.projectHistoryMetaData.ensureIndex { project_id: 1 }
|
||||||
# TTL index for auto deleting week old temporary ops
|
# TTL index for auto deleting week old temporary ops
|
||||||
db.docHistory.ensureIndex { tempCreatedAt: 1 }, { expireAfterSeconds: 0 }
|
db.docHistory.ensureIndex { expiresAt: 1 }, { expireAfterSeconds: 0 }
|
||||||
|
|
Loading…
Reference in a new issue