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