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
Remove or ignore the 'id' column #38
Comments
I am also facing the same issue, could you please help @17bit |
@wy10cheng @rafaellech why don't just ignore the id field? |
since our team is using 2 adapters to write the table in different project. once the adapter with 'id' is built, the other project with JDBC adapter could not find the right table to match and raise error, and vice versa |
i had also found the code is without the part creating the column 'id', so also curious where does this primary key field come from |
Could you send the error message? I guess it's Sequelize's problem. |
|
This is a bug because we do not define a primary key in casbinRule.ts. |
@hsluoyz can you please help? thanks a lot |
@wy10cheng actually our ultimate goal is to add the So if you mean that the Node.js's sequelize-adapter creates the |
Replaced by: jcasbin/casbin-spring-boot-starter#21 |
Hello,
Can I remove or ignore the 'id' column of created casbin_rule table?
If so, where shall I edit? Since I don't see the 'id' field in your model.
Thanks.
The text was updated successfully, but these errors were encountered: