|
|
@ -5,6 +5,14 @@ const streams = new Schema({
|
|
|
|
type: String,
|
|
|
|
type: String,
|
|
|
|
required: true,
|
|
|
|
required: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
name_arabic: {
|
|
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
name_jpn: {
|
|
|
|
|
|
|
|
type: String,
|
|
|
|
|
|
|
|
required: true,
|
|
|
|
|
|
|
|
},
|
|
|
|
event: {
|
|
|
|
event: {
|
|
|
|
type: Schema.Types.ObjectId,
|
|
|
|
type: Schema.Types.ObjectId,
|
|
|
|
ref: 'Event',
|
|
|
|
ref: 'Event',
|
|
|
@ -25,4 +33,4 @@ const streams = new Schema({
|
|
|
|
|
|
|
|
|
|
|
|
const Stream = model('Streams', streams)
|
|
|
|
const Stream = model('Streams', streams)
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = Stream
|
|
|
|
module.exports = Stream
|
|
|
|