fix: remove required

main
Ayush Mukherjee 1 year ago
parent 4eeca06bbf
commit 14513b1c93

@ -7,11 +7,9 @@ const brackets = new Schema({
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
event: {
type: Schema.Types.ObjectId,

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

@ -8,11 +8,9 @@ const events = new mongoose.Schema({
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
streams: [{
type: mongoose.Schema.Types.ObjectId,

@ -30,11 +30,9 @@ const players = new Schema({
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
account: {
type: String,
@ -49,11 +47,9 @@ const rosters = new Schema({
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
logo: {
type: String,

@ -7,11 +7,9 @@ const streams = new Schema({
},
name_arabic: {
type: String,
required: true,
},
name_jpn: {
type: String,
required: true,
},
event: {
type: Schema.Types.ObjectId,

Loading…
Cancel
Save