Added serverLocation to finishes.
This commit is contained in:
parent
ffbe896178
commit
555bea83ff
|
@ -4,6 +4,7 @@ const Finish = new mongoose.Schema({
|
|||
map: { type: mongoose.Schema.ObjectId, ref: 'Level' },
|
||||
time: Number,
|
||||
date: Date,
|
||||
serverLocation: String,
|
||||
player: { type: mongoose.Schema.ObjectId, ref: 'Player' }
|
||||
})
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ const TeamFinish = new mongoose.Schema({
|
|||
map: { type: mongoose.Schema.ObjectId, ref: 'Level' },
|
||||
time: Number,
|
||||
date: Date,
|
||||
serverLocation: String,
|
||||
players: [{ type: mongoose.Schema.ObjectId, ref: 'Player' }]
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user