1
0
Fork 0

re-enable index

This commit is contained in:
jsteemann 2017-04-04 11:47:34 +02:00
parent a79967cd3b
commit 8206afa0b1
1 changed files with 1 additions and 3 deletions

View File

@ -65,9 +65,7 @@ function createStatisticsCollection (name) {
}
if (collection !== null) {
if (db._engine().name != "rocksdb") {
collection.ensureIndex({ type: 'skiplist', fields: [ 'time' ] });
}
collection.ensureIndex({ type: 'skiplist', fields: [ 'time' ] });
}
return true;