aggiornamento Indici
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
const mongoose = require('mongoose').set('debug', false)
|
||||
const Schema = mongoose.Schema;
|
||||
|
||||
const tools = require('../tools/general');
|
||||
|
||||
mongoose.Promise = global.Promise;
|
||||
mongoose.level = "F";
|
||||
|
||||
@@ -217,7 +215,6 @@ module.exports.executeQueryTable = async function (idapp, params, userreq) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
module.exports.findAll = async function () {
|
||||
@@ -357,3 +354,7 @@ module.exports.createFirstUserAdmin = async function () {
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
module.exports.createIndexes((err) => {
|
||||
if (err) throw err;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user