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

supabase / cli / 28648620176

03 Jul 2026 08:26AM UTC coverage: 65.166% (+0.1%) from 65.019%
28648620176

push

github

web-flow
fix(db): respect schema_paths order in diff (#5706)

## Summary
- Preserve explicit `[db.migrations].schema_paths` order when preparing
declared schemas for `db diff`.
- Expand directory schema path entries deterministically without
overriding explicit file/glob order.
- Use pg-delta declarative apply only when schema_paths is unset or
points directly at the declarative directory.

Fixes #3854

## Testing
- `go test ./internal/db/diff ./internal/db/declarative ./cmd`

---------

Co-authored-by: Julien Goux <hi@jgoux.dev>

11041 of 16943 relevant lines covered (65.17%)

10.47 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

70.05
/internal/db/diff/diff.go


Source Not Available

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