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