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

skeema / tengo
91%
main: 94%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.10.3
DEFAULT BRANCH: main
Repo Added 04 May 2018 05:02AM UTC
Files 18
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

LAST BUILD ON BRANCH v0.8.9
branch: v0.8.9
CHANGE BRANCH
x
Reset
  • v0.8.9
  • bulkdropopts
  • ci-golint-fix
  • col-reorder-algo
  • conn-refactor
  • dep-golang-19
  • fix-gomod-err
  • fk-order-mysql55
  • flavor-patch
  • foreign-keys
  • generated-cols
  • ghactions
  • index-ordering
  • introspection-params
  • key-col-name-only
  • main
  • mariadb106
  • master
  • partitioning
  • refs/tags/v0.10.0
  • refs/tags/v0.10.1
  • refs/tags/v0.10.3
  • refs/tags/v0.9.4
  • refs/tags/v0.9.5
  • refs/tags/v0.9.6
  • refs/tags/v0.9.7
  • remove-caching
  • reuse-containers
  • routines
  • routines-rebased
  • v0.8.1
  • v0.8.10
  • v0.8.11
  • v0.8.12
  • v0.8.13
  • v0.8.14
  • v0.8.15
  • v0.8.16
  • v0.8.17
  • v0.8.18
  • v0.8.19
  • v0.8.2
  • v0.8.3
  • v0.8.4
  • v0.8.5
  • v0.8.7
  • v0.8.8
  • v0.9.0
  • v0.9.1
  • v0.9.2
  • v0.9.3

12 Nov 2018 08:55PM UTC coverage: 90.943%. First build
95

push

travis-ci

evanelias
Instance.querySchemaTables(): Fix naming conflict bug between FKs / UKs

Within a single database schema, if a foreign key has the same name as a unique
index, Instance.querySchemaTables() would consistently return an error. This
occurred because an additional join condition is needed to de-dupe this
situation, as both types of constraints are present in MySQL's
information_schema.key_column_usage table.

This commit does the following:

* Add the missing join condition

* Augment error messages in Instance.querySchemaTables() to include schema name

* Provide test coverage by renaming one of the FKs in the fixture data to match
  one of the unique keys

8 of 8 new or added lines in 1 file covered. (100.0%)

1958 of 2153 relevant lines covered (90.94%)

143.75 hits per line

Relevant lines Covered
Build:
Build:
2153 RELEVANT LINES 1958 COVERED LINES
143.75 HITS PER LINE
Source Files on v0.8.9
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
95 v0.8.9 Instance.querySchemaTables(): Fix naming conflict bug between FKs / UKs Within a single database schema, if a foreign key has the same name as a unique index, Instance.querySchemaTables() would consistently return an error. This occurred because ... push 12 Nov 2018 09:12PM UTC evanelias travis-ci
90.94
See All Builds (266)
  • Repo on GitHub
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

© 2025 Coveralls, Inc