diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index f4c4f43..414f29a 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -109,6 +109,7 @@ "bsonType": "array", "title": "角色", "description": "用户角色", + "foreignKey": "uni-id-roles.role_id", "permission": { "write": false }