-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
Why doesn't casbin_rule add an auto increment primary key? #35
Comments
I don’t quite understand why you don’t increase the primary key field. According to the mysql innodb index design, it is recommended to provide an ID primary key |
I guess the Casbin don't need the ID primary key. |
@aofengli can you make a PR to add an increment primary key? |
@00LT00 can you take this issue? |
I'm learning about it and solving it as soon as possible |
In summary, I think we shouldn't add ID primary key for casbin. |
@aofengli can you make a PR to fix it? |
@hsluoyz We should add unique index. |
OK. Can anyone work on a PR? |
PR made: #54 |
One should be added from a performance perspective
The text was updated successfully, but these errors were encountered: