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