Browse Source
adding needed index for email_queue.id
feat/2-step-opt
Justin Langston
7 years ago
No known key found for this signature in database
GPG Key ID: EBB3714C72F9FE5D
1 changed files with
4 additions and
1 deletions
-
lib/storage.js
|
|
@ -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, |
|
|
|
}); |
|
|
|