2021-09-26 18:06:31 +02:00
|
|
|
import mongoose from 'mongoose'
|
2021-09-25 17:47:05 +02:00
|
|
|
|
2021-09-29 20:53:24 +02:00
|
|
|
const TeamFinish = new mongoose.Schema({
|
2021-09-29 21:43:41 +02:00
|
|
|
map: String,
|
2021-09-26 18:06:31 +02:00
|
|
|
time: Number,
|
2021-09-29 21:03:30 +02:00
|
|
|
date: Date,
|
2021-09-29 21:16:51 +02:00
|
|
|
serverLocation: String,
|
2021-09-29 21:43:41 +02:00
|
|
|
players: [ String ]
|
2021-09-25 17:47:05 +02:00
|
|
|
})
|
|
|
|
|
2021-10-06 20:36:20 +02:00
|
|
|
/**
|
|
|
|
* This cotains the mongoose 'TeamFinish' model.
|
|
|
|
* @module schemas/TeamFinish
|
|
|
|
*/
|
2021-09-29 20:53:24 +02:00
|
|
|
export default mongoose.model("TeamFinish", TeamFinish)
|