mirror of
https://gitee.com/dcloud/opendb.git
synced 2024-11-10 11:09:44 +08:00
add department_id index
This commit is contained in:
parent
7ce677f5ae
commit
b3834c525a
@ -111,7 +111,7 @@
|
|||||||
"trim":"both"
|
"trim":"both"
|
||||||
},
|
},
|
||||||
"department_id": {
|
"department_id": {
|
||||||
"bsonType": "string",
|
"bsonType": "array",
|
||||||
"description": "部门ID",
|
"description": "部门ID",
|
||||||
"title": "部门",
|
"title": "部门",
|
||||||
"enumType": "tree",
|
"enumType": "tree",
|
||||||
@ -371,6 +371,16 @@
|
|||||||
}],
|
}],
|
||||||
"MgoIsUnique": false
|
"MgoIsUnique": false
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
{
|
||||||
|
"IndexName": "department",
|
||||||
|
"MgoKeySchema": {
|
||||||
|
"MgoIndexKeys": [{
|
||||||
|
"Name": "department_id",
|
||||||
|
"Direction": "1"
|
||||||
|
}],
|
||||||
|
"MgoIsUnique": false
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user