From 4eeca06bbf33286d7378ba3cc01fc2105ac013b2 Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Thu, 16 Nov 2023 20:36:46 +0530 Subject: [PATCH] feat: add more langs to places --- src/models/brackets.js | 10 +++++++++- src/models/matches.js | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) 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