diff --git a/src/models/brackets.js b/src/models/brackets.js index a19ae31..85435fb 100644 --- a/src/models/brackets.js +++ b/src/models/brackets.js @@ -5,6 +5,14 @@ const brackets = new Schema({ type: String, required: true, }, + name_arabic: { + type: String, + required: true, + }, + name_jpn: { + type: String, + required: true, + }, event: { type: Schema.Types.ObjectId, ref: 'Event', @@ -17,4 +25,4 @@ const brackets = new Schema({ const Bracket = model('Brackets', brackets) -module.exports = Bracket \ No newline at end of file +module.exports = Bracket diff --git a/src/models/matches.js b/src/models/matches.js index 53cc15f..bf13c09 100644 --- a/src/models/matches.js +++ b/src/models/matches.js @@ -42,6 +42,14 @@ const matches = new Schema({ type: String, required: true, }, + type_arabic: { + type: String, + required: true, + }, + type_jpn: { + type: String, + required: true, + }, bestOf: { type: String, required: true, @@ -73,4 +81,4 @@ const matches = new Schema({ const Match = model('Matches', matches) -module.exports = Match \ No newline at end of file +module.exports = Match