ddstats-server/schemas/TeamFinish.js
2021-10-06 20:36:20 +02:00

15 lines
323 B
JavaScript

import mongoose from 'mongoose'
const TeamFinish = new mongoose.Schema({
map: String,
time: Number,
date: Date,
serverLocation: String,
players: [ String ]
})
/**
* This cotains the mongoose 'TeamFinish' model.
* @module schemas/TeamFinish
*/
export default mongoose.model("TeamFinish", TeamFinish)