fastapi-user-auth icon indicating copy to clipboard operation
fastapi-user-auth copied to clipboard

postgreSQL数据库查看角色管理报错

Open loved3d opened this issue 1 year ago • 0 comments

用postgreSQL数据库,查看角色管理报错。 原因是 fastapi_user_auth\auth\models.py内第99行 ,CasbinSubjectRolesQuery里用了GROUP_CONCAT方法,postgreSQL不支持该方法,需要替换为string_agg

loved3d avatar Feb 21 '24 11:02 loved3d