Added an index for copayerId in sessions
This commit is contained in:
parent
5f3295722b
commit
b47dfaeb95
|
@ -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…
Reference in New Issue