|
|
|
@ -14,12 +14,12 @@ const gameScores = new Schema({
|
|
|
|
|
const matches = new Schema({
|
|
|
|
|
orange: {
|
|
|
|
|
type: Schema.Types.ObjectId,
|
|
|
|
|
refs: 'Rosters',
|
|
|
|
|
ref: 'Rosters',
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
blue: {
|
|
|
|
|
type: Schema.Types.ObjectId,
|
|
|
|
|
refs: 'Rosters',
|
|
|
|
|
ref: 'Rosters',
|
|
|
|
|
required: true,
|
|
|
|
|
},
|
|
|
|
|
started: {
|
|
|
|
|