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