• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

casbin / gorm-adapter / 88 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 24 Jul 2020 04:14AM UTC
Files 1
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jul 2020 04:09AM UTC coverage: 62.727% (-0.4%) from 63.11%
88.1

push

travis-ci

web-flow
Utilize correct db error when the duplicate database is created (#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>

207 of 330 relevant lines covered (62.73%)

17.55 hits per line

Source Files on job 88.1
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 75
  • Travis Job 88.1
  • 81c2dc6d on github
  • Prev Job for on master (#82.1)
  • Next Job for on master (#95.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc