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