|
@@ -29,6 +29,7 @@ const Dock = {
|
|
|
province: { type: String, required: false }, // 省
|
|
|
file_path: { type: String, required: false }, // 视频路径
|
|
|
place: { type: String, required: false }, // 位置
|
|
|
+ roomname: { type: String, required: false }, // 房间号
|
|
|
};
|
|
|
const schema = new Schema(Dock, { toJSON: { virtuals: true } });
|
|
|
schema.index({ id: 1 });
|