|
@@ -6,10 +6,9 @@ const { ObjectId } = require('mongoose').Types;
|
|
|
|
|
|
const user = new Schema(
|
|
|
{
|
|
|
- id: { type: ObjectId, required: false, maxLength: 500 }, // 名称,
|
|
|
+ user_id: { type: ObjectId, required: false, maxLength: 500 }, // 名称,
|
|
|
name: { type: String, required: false, maxLength: 500 }, // 链接地址,
|
|
|
- },
|
|
|
- { _id: false, id: true }
|
|
|
+ }
|
|
|
);
|
|
|
|
|
|
// 专利信息表
|