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