-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[ WIP ] 把一些关联字段从name改成ID 包括权限,用户, 实例,查询日志等的互相关联 #71
Conversation
更改过程中发现, 用户的表权限, 是否有权限, 授予权限, 剥夺权限, 调整权限, 都是通过filter获取权限对象, 然后修改对象实现的。 如果集合到用户方法中, 如何做到批量添加/高效率添加? |
作为用户的属性?还是增加四个方法,批量更新和插入可以参考现在的实现吧。 |
累了, 我不动了, 直接改原代码, 加字段就成。。。后期再用多对多的关联起来吧 |
🌚 |
Codecov Report
@@ Coverage Diff @@
## master #71 +/- ##
==========================================
+ Coverage 56.6% 58.34% +1.73%
==========================================
Files 59 59
Lines 5492 5553 +61
==========================================
+ Hits 3109 3240 +131
+ Misses 2383 2313 -70
Continue to review full report at Codecov.
|
a022b92
to
9f42941
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 原来工单要改的这么少,😳
- 脱敏字段貌似也是需要改外键的,一样改实例名就失效
- name名称的话,我的建议是不改,name是mysql关键字,要缩短或许可以叫ins_name?
480d83b
to
0be6581
Compare
一期计划:
二期计划:
#67