aggiornamento Indici
This commit is contained in:
@@ -121,4 +121,8 @@ MailingListSchema.statics.findByHash = function (idapp, hash) {
|
||||
|
||||
const MailingList = mongoose.model('MailingList', MailingListSchema);
|
||||
|
||||
MailingList.createIndexes((err) => {
|
||||
if (err) throw err;
|
||||
});
|
||||
|
||||
module.exports = { MailingList };
|
||||
|
||||
Reference in New Issue
Block a user