- Aggiornati margini.

- Cataloghi: Export ed Import di una pagine ed i suoi elementi !
This commit is contained in:
Surya Paolo
2024-12-13 18:09:55 +01:00
parent 14bca3e282
commit 14b3e18986
10 changed files with 182 additions and 11 deletions

View File

@@ -235,6 +235,13 @@ const MyElemSchema = new Schema({
}
}
],
date_created: {
type: Date,
default: Date.now
},
date_updated: {
type: Date,
},
});
MyElemSchema.pre('save', async function (next) {