Fixed: le reactions devono stare in una tabella a parte (reactions).
- cambiata la gestione dei seen, fav, book, attend
This commit is contained in:
@@ -94,6 +94,9 @@ const MySkillSchema = new Schema({
|
||||
},
|
||||
});
|
||||
|
||||
MySkillSchema.index({ 'idapp': 1 });
|
||||
|
||||
|
||||
MySkillSchema.pre('save', async function(next) {
|
||||
if (this.isNew) {
|
||||
if (!this.date_created)
|
||||
|
||||
Reference in New Issue
Block a user