DeprecationWarning: collection.ensureIndex is deprecated. Use createIndexes instead.
when saving:
DeprecationWarning: Mongoose: `findOneAndUpdate()` and `findOneAndDelete()` without the `useFindAndModify` option set to false are deprecated. See: https://mongoosejs.com/docs/deprecations.html#findandmodify
on startup:
when saving: