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

knex / knex / 21267043760
93%

Build:
DEFAULT BRANCH: master
Ran 22 Jan 2026 10:29PM UTC
Jobs 1
Files 246
Run time 1min
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

22 Jan 2026 10:23PM UTC coverage: 93.158% (+0.09%) from 93.073%
21267043760

push

github

web-flow
feat: add dropUniqueIfExists (#6069)

feat(schema): add if-exists drops for constraints

Add dropUniqueIfExists/dropForeignIfExists/dropPrimaryIfExists to the
TableBuilder and implement dialect support (PG/Cockroach for all three;
MariaDB/MSSQL/SQLite for dropUniqueIfExists, others throw not supported).
Detect MySQL vs MariaDB and cache the server/config version to gate the
MariaDB-only DROP INDEX IF EXISTS; warn and assume latest on missing or
unparseable versions, or when configured as "latest",  to prevent surprises on
upgrade.
Update docs, typings, and tests.

3725 of 4399 branches covered (84.68%)

Branch coverage included in aggregate %.

366 of 372 new or added lines in 19 files covered. (98.39%)

15513 of 16252 relevant lines covered (95.45%)

2286.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
92.42
-0.68% lib/dialects/mysql/index.js
1
95.65
test/unit/schema/tablecompiler-base.js
4
96.97
test/unit/dialects/mysql-version.js
Jobs
ID Job ID Ran Files Coverage
1 21267043760.1 22 Jan 2026 10:29PM UTC 246
93.16
GitHub Action Run
Source Files on build 21267043760
  • Tree
  • List 246
  • Changed 18
  • Source Changed 18
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #21267043760
  • 38d81021 on github
  • Prev Build on master (#21197686116)
  • Next Build on master (#21272681625)
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