Browse Source

Added an index for copayerId in sessions

feat/estimateFee-limit
magmahindenburg 8 years ago
parent
commit
b47dfaeb95
  1. 3
      lib/storage.js

3
lib/storage.js

@ -83,6 +83,9 @@ Storage.prototype._createIndexes = function() {
copayerId: 1,
txid: 1,
});
this.db.collection(collections.SESSIONS).createIndex({
copayerId: 1
});
};
Storage.prototype.connect = function(opts, cb) {

Loading…
Cancel
Save