(Nœud: 2496) DANSPRÉCATIONWARNING: Collection.enSureIndex est obsolète. Utilisez plutôt CreateIndexes.
/*As of this edit, Mongoose is now at v5.4.13. Per their docs, these are the fixes for the deprecation warnings..*/
mongoose.set('useNewUrlParser', true);
mongoose.set('useFindAndModify', false);
mongoose.set('useCreateIndex', true);
Sparkling Shrike