Closed chenxi2015 closed 1 month ago
hello ? Can anybody solve it ?
@chenxi2015 plz make a PR to fix it
@chenxi2015 the default behavior should not be modified. You are bringing trouble to all old users and give them incompatibility. Fix the problem by yourself in your code
My code:
getFullTableName code:
My mysql connect code:
This parameter cannot be shared with the
prefix
configured in gorm If I set prefix tocn_
, the table name of gorm concatenation will be determinedcn_casbin_rule
, but the table name of casbin iscncasbin_rule
. Why do I need to concatenate with underscores like this? How can I fix it?