feat: add more langs to places

main
Ayush Mukherjee 1 year ago
parent d94f373a3d
commit 4eeca06bbf

@ -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
module.exports = Bracket

@ -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
module.exports = Match

Loading…
Cancel
Save