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