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

golang-migrate / migrate / 24336403830
54%
master: 55%

Build:
Build:
LAST BUILD BRANCH: codex/remove-docker-module-dep
DEFAULT BRANCH: master
Ran 13 Apr 2026 09:56AM UTC
Jobs 2
Files 59
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

13 Apr 2026 09:36AM UTC coverage: 54.377% (-0.06%) from 54.432%
24336403830

Pull #1391

github

Yanhu007
fix: Drop() also removes custom enum types in Postgres

Drop() only drops tables, leaving custom types (enums) behind.
When a migration creates a custom type, Drop() followed by Up()
fails with 'type already exists'.

Add type dropping after table dropping by querying pg_type for
enum types in the current schema.

Fixes #626
Pull Request #1391: fix: Postgres Drop() also removes custom enum types

7 of 21 new or added lines in 1 file covered. (33.33%)

4385 of 8064 relevant lines covered (54.38%)

48.51 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
68.04
-2.28% database/postgres/postgres.go
Jobs
ID Job ID Ran Files Coverage
1 Go-1.25.x - 24336403830.1 13 Apr 2026 09:57AM UTC 59
54.38
GitHub Action Run
2 Go-1.24.x - 24336403830.2 13 Apr 2026 09:56AM UTC 59
54.38
GitHub Action Run
Source Files on build 24336403830
  • Tree
  • List 59
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #1391
  • PR Base - master (#22942289248)
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