|
@@ -12,11 +12,12 @@ const videos = new Schema({
|
|
|
const Channel = {
|
|
|
user_id: { type: String, required: false, maxLength: 200 },
|
|
|
title: { type: String, required: false, maxLength: 200 },
|
|
|
- desc: { type: String, maxLength: 1000 },
|
|
|
province: { type: String, required: false },
|
|
|
place: { type: String, required: false },
|
|
|
+ orgin: { type: String, required: false, maxLength: 200 },
|
|
|
sponsor: { type: String, required: false, maxLength: 200 },
|
|
|
organizer: { type: String, required: false, maxLength: 200 },
|
|
|
+ desc: { type: String, maxLength: 1000 },
|
|
|
image_path: { type: String, required: false },
|
|
|
videodata: { type: [ videos ], default: [] },
|
|
|
};
|