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