ddstats-server/schemas/TeamFinish.js

15 lines
323 B
JavaScript
Raw Normal View History

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({
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,
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)