Merge pull request #705 from nitsujlangston/addEmailQueueIdIndex
adding needed index for email_queue.id
This commit is contained in:
commit
15de4716f7
|
@ -64,6 +64,9 @@ Storage.prototype._createIndexes = function() {
|
|||
this.db.collection(collections.ADDRESSES).createIndex({
|
||||
address: 1,
|
||||
});
|
||||
this.db.collection(collections.EMAIL_QUEUE).createIndex({
|
||||
id: 1,
|
||||
});
|
||||
this.db.collection(collections.EMAIL_QUEUE).createIndex({
|
||||
notificationId: 1,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue