|
|
@ -5,6 +5,14 @@ const brackets = new Schema({
|
|
|
|
type: String,
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
name_arabic: {
|
|
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
name_jpn: {
|
|
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
event: {
|
|
|
|
event: {
|
|
|
|
type: Schema.Types.ObjectId,
|
|
|
|
type: Schema.Types.ObjectId,
|
|
|
|
ref: 'Event',
|
|
|
|
ref: 'Event',
|
|
|
@ -17,4 +25,4 @@ const brackets = new Schema({
|
|
|
|
|
|
|
|
|
|
|
|
const Bracket = model('Brackets', brackets)
|
|
|
|
const Bracket = model('Brackets', brackets)
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = Bracket
|
|
|
|
module.exports = Bracket
|
|
|
|