Fix indexes

This commit is contained in:
James Allen 2014-05-16 16:41:40 +01:00
parent 29ad81c134
commit 6a371c267f

View file

@ -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 }