You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Utilize correct db error when the duplicate database is created (apac……he#39)
As per http://v2.gorm.io/docs/conventions.html#TableName TableName() suppose to generate static names only (it could not be dynamic). The same source suggests a workaround that I implemented as DynamicCasbinRuleTable along with a scoped DB object for NewAdapterByDBUsePrefix.
As a result of 2. we can remove tablePrefix from global state
Signed-off-by: l1ghtman2k <aibek.zhil@gmail.com>