feat: add secondary names for shit

main
Ayush Mukherjee 1 year ago
parent c021b9ebe8
commit d94f373a3d

@ -9,6 +9,14 @@ const casters = new Schema({
type: String,
required: true,
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
twitter: {
type: String,
required: true,

@ -6,6 +6,14 @@ const events = new mongoose.Schema({
required: true,
unique: true,
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
streams: [{
type: mongoose.Schema.Types.ObjectId,
ref: 'Streams',

@ -28,6 +28,14 @@ const players = new Schema({
type: String,
required: true,
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
account: {
type: String,
required: true,
@ -39,6 +47,14 @@ const rosters = new Schema({
type: String,
required: true,
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
logo: {
type: String,
required: true,

@ -5,6 +5,14 @@ const streams = 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',

Loading…
Cancel
Save