casbin / xorm-adapter

Xorm adapter for Casbin
https://github.com/casbin/casbin
Apache License 2.0
384 stars 58 forks source link

Support table prefix #46

Closed hsluoyz closed 2 years ago

hsluoyz commented 2 years ago

Like: https://github.com/casbin/gorm-adapter/search?q=prefix&type=issues

The default table name is casbin_rule. If the prefix is set to abc_, then the table name will be abc_casbin_rule

casbin-bot commented 2 years ago

@tangyang9464 @closetool @sagilio

hsluoyz commented 2 years ago

@abichinger @Abingcbc @fabian4