diff --git a/packages/plugin-ui-schema/src/collections/ui_schemas.ts b/packages/plugin-ui-schema/src/collections/ui_schemas.ts index 4604fa551..6d5047417 100644 --- a/packages/plugin-ui-schema/src/collections/ui_schemas.ts +++ b/packages/plugin-ui-schema/src/collections/ui_schemas.ts @@ -49,5 +49,11 @@ export default { sourceKey: 'key', foreignKey: 'parentKey', }, + { + type: 'belongsToMany', + name: 'roles', + target: 'roles', + through: 'roles_ui_schemas' + }, ], } as TableOptions;