Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增权限初始化时适配数据库的出错日志 #1359

Merged
merged 2 commits into from Feb 28, 2023

Conversation

a1140314368
Copy link
Contributor

项目在一个新的环境初始化数据库时,如果数据库的引擎不是InnoDB,则会在casbin初始化时进行报错,无法获取到数据库数据,故将在casbin初始化时的err进行了判断,出错时抛出错误。

@piexlmax piexlmax merged commit 24c1111 into flipped-aurora:main Feb 28, 2023
yziwe pushed a commit to yziwe/gin-vue-admin that referenced this pull request Mar 5, 2023
* 新增权限初始化时适配数据库的出错日志

* 修改报错详情

修改报错详情

---------

Co-authored-by: 奇淼(piexlmax <qimiaojiangjizhao@gmail.com>
Stephen-Z pushed a commit to Stephen-Z/gin-vue-admin that referenced this pull request Jul 12, 2023
* 新增权限初始化时适配数据库的出错日志

* 修改报错详情

修改报错详情

---------

Co-authored-by: 奇淼(piexlmax <qimiaojiangjizhao@gmail.com>
songzhibin97 pushed a commit that referenced this pull request Oct 11, 2023
* 新增权限初始化时适配数据库的出错日志

* 修改报错详情

修改报错详情

---------

Co-authored-by: 奇淼(piexlmax <qimiaojiangjizhao@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant