Comparing version 1.2.8 to 1.2.9
@@ -74,3 +74,5 @@ 'use strict'; | ||
self.store = self.db.collection(options.collectionName); | ||
self.store.ensureIndex({ '_commands': 1, '_commands.id': 1, _timeoutAt: 1, _commitStamp: 1, _hash: 1 }, function() {}); | ||
self.store.ensureIndex({ '_commands.id': 1}, function() {}); | ||
self.store.ensureIndex({ '_timeoutAt': 1}, function() {}); | ||
self.store.ensureIndex({ '_commitStamp': 1}, function() {}); | ||
if (!err) { | ||
@@ -77,0 +79,0 @@ self.emit('connect'); |
{ | ||
"author": "adrai", | ||
"name": "cqrs-saga", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
## [v1.2.9](https://github.com/adrai/node-cqrs-saga/compare/v1.2.8...v1.2.9) | ||
- fixed mongodb indexes | ||
## [v1.2.8](https://github.com/adrai/node-cqrs-saga/compare/v1.2.7...v1.2.8) | ||
@@ -2,0 +5,0 @@ - added mongodb driver 2.x support |
202158
4016