diff --git a/src/models/matches.js b/src/models/matches.js index cfb6524..53cc15f 100644 --- a/src/models/matches.js +++ b/src/models/matches.js @@ -34,6 +34,10 @@ const matches = new Schema({ type: Boolean, required: true, }, + reset: { + type: Boolean, + default: false, + }, type: { type: String, required: true, @@ -52,6 +56,16 @@ const matches = new Schema({ default: 0, }, }, + resets: { + orange: { + type: Number, + default: 0, + }, + blue: { + type: Number, + default: 0, + }, + }, games: { type: [gameScores], }