Two databases
uPagge opened this issue · comments
I have two databases in my project
How can I tell which database to create tables in?
I think it depends on which data source you use as the default data source (master data source). After the container starts, casbin-spring-boot-starter will get the injected data source information to determine which database you are using, and then instantiate the corresponding adapter. @uPagge
@shy1st Yes, I understand that. This is the problem, that I would like to use a different base than the default))
@shy1st Yes, I understand that. This is the problem, that I would like to use a different base than the default))
- For now, you can solve this problem by using a custom JdbcTemplate instead of the default JdbcTemplate used by Casbin.
- Wait for us to release a new version that supports this feature (it will take some time).
Got it, thanks for the answer)
Can we make it customizable for the user?
🎉 This issue has been resolved in version 0.0.13 🎉
The release is available on:
- GitHub release
0.0.13
Your semantic-release bot 📦🚀