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

karenc / db-migrator / 202 / 1
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 1.1.0
DEFAULT BRANCH: master
Ran 16 Nov 2017 10:22PM UTC
Files 22
Run time 1s
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

27 Oct 2017 01:34PM UTC coverage: 97.292% (+1.1%) from 96.226%
202.1

push

travis-ci

karenc
Add `--sort` (version or applied) to `dbmigrator list`

`dbmigrator list` only shows migrations in the order of migration
filenames at the moment.  It works well for when users are trying to
migrate.  When users are trying to rollback however, it is difficult to
tell which migration will be rolled back because the applied dates are
not in the same order as the migration filenames.

This change allows the user to specify the order by doing
`--sort=applied`:

```
version        | name            | is applied | date applied
----------------------------------------------------------------------
20160228212456   cool_stuff        True         2017-10-20 10:27:57.011677-07:00
20160228202637   add_table         False
```

1042 of 1071 relevant lines covered (97.29%)

0.97 hits per line

Source Files on job 202.1
  • Tree
  • List 0
  • Changed 10
  • Source Changed 9
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 202
  • Travis Job 202.1
  • 460a5d2a on github
  • Prev Job for on list-by-applied (#188.2)
  • Next Job for on list-by-applied (#211.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