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

karenc / db-migrator
98%
master: 97%

Build:
Build:
LAST BUILD BRANCH: 1.1.0
DEFAULT BRANCH: master
Repo Added 15 Feb 2016 06:38PM UTC
Files 22
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

LAST BUILD ON BRANCH list-by-applied
branch: list-by-applied
CHANGE BRANCH
x
Reset
  • list-by-applied
  • 0.1.1
  • 0.1.2
  • 0.1.3
  • 0.1.4
  • 0.2.0
  • 1.0.0
  • 1.0.1
  • 1.0.2
  • 1.1.0
  • close-db-connections
  • context
  • db-config
  • deferred-migrations
  • devops-features
  • fix-list-order
  • fix-tests
  • fix-version
  • list
  • logger
  • mark
  • mark-multiple
  • master
  • migrations-directory-and-context
  • move-logger
  • no-migrations-directory
  • no-schema-no-error
  • py3-schema-diff
  • repeat-migrations
  • super-user
  • tests
  • travis
  • update-psycopg2
  • update-readme
  • version

pending completion
211

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

1047 of 1072 relevant lines covered (97.67%)

1.94 hits per line

Relevant lines Covered
Build:
Build:
1072 RELEVANT LINES 1047 COVERED LINES
1.94 HITS PER LINE
Source Files on list-by-applied
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
211 list-by-applied 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 ... push 22 Nov 2017 08:31PM UTC karenc travis-ci pending completion  
202 list-by-applied 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 ... push 27 Oct 2017 01:36PM UTC karenc travis-ci pending completion  
188 list-by-applied 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 ... push 20 Oct 2017 05:33PM UTC karenc travis-ci pending completion  
See All Builds (186)
  • Repo on GitHub
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

© 2025 Coveralls, Inc