Compare commits
No commits in common. 'main' and 'v1.3.3' have entirely different histories.
File diff suppressed because it is too large
Load Diff
@ -1,26 +0,0 @@
|
||||
const { Schema, model } = require('mongoose')
|
||||
|
||||
const brackets = new Schema({
|
||||
name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
name_arabic: {
|
||||
type: String,
|
||||
},
|
||||
name_jpn: {
|
||||
type: String,
|
||||
},
|
||||
event: {
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'Event',
|
||||
},
|
||||
matches: [{
|
||||
type: Schema.Types.ObjectId,
|
||||
ref: 'Matches',
|
||||
}],
|
||||
})
|
||||
|
||||
const Bracket = model('Brackets', brackets)
|
||||
|
||||
module.exports = Bracket
|
@ -1,67 +0,0 @@
|
||||
const { Schema, model } = require('mongoose')
|
||||
|
||||
const stats = new Schema({
|
||||
name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
name_arabic: {
|
||||
type: String,
|
||||
},
|
||||
name_jpn: {
|
||||
type: String,
|
||||
},
|
||||
image: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
image_full: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
required: true,
|
||||
},
|
||||
win_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
win: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
goals_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
goals: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
shots_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
shots: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
saves_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
saves: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
assists_name: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
assists: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
const Stat = model('Stats', stats)
|
||||
|
||||
module.exports = Stat
|
Loading…
Reference in New Issue