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

karenc / db-migrator / 216
97%

Build:
DEFAULT BRANCH: master
Ran 13 Dec 2017 07:15PM UTC
Jobs 2
Files 22
Run time 4s
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

pending completion
216

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
```

18 of 18 new or added lines in 2 files covered. (100.0%)

1063 of 1088 relevant lines covered (97.7%)

1.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 216.1 13 Dec 2017 07:15PM UTC 0
97.33
Travis Job 216.1
2 216.2 13 Dec 2017 07:15PM UTC 0
96.78
Travis Job 216.2
Source Files on build 216
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #216
  • 66bb8532 on github
  • Prev Build on master (#208)
  • Next Build on master (#215)
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