Jean-Sébastien Herbaux 4a8de29100
Fix ability to update unique constraints in mongoose (#5612)
* Sync indexes on model mount with mongoose

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Use Mongoose.Model.syncIndexes callback arg to subscribe to Model's indexes messages. Get rid off errors-pron-promises.

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-03-27 11:39:53 +01:00
..
2020-02-13 16:46:37 +01:00
2019-10-23 17:02:23 +02:00
2019-11-27 15:30:38 +01:00