Denormalised slot fill total to database

This commit is contained in:
Stefan Zermatten
2020-11-05 13:35:55 +02:00
parent 3293dad671
commit 749799d869
4 changed files with 34 additions and 8 deletions

View File

@@ -50,6 +50,10 @@ const ComputedOnlySlotSchema = new SimpleSchema({
'slotConditionErrors.$':{
type: ErrorSchema,
},
totalFilled: {
type: SimpleSchema.Integer,
defaultValue: 0,
}
});
const ComputedSlotSchema = new SimpleSchema()