Added serverLocation to finishes.

This commit is contained in:
BurnyLlama 2021-09-29 21:16:51 +02:00
parent ffbe896178
commit 555bea83ff
2 changed files with 2 additions and 0 deletions

View File

@ -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' }
})

View File

@ -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' }]
})