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