mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2026-02-02 09:25:07 +01:00
Add --exit-code and --quiet flags to status command (#124)
Extending the `dbmate status` command with the ability to set an exit code or quiet output, for use in scripts. Flag names were copied from `git diff` command.
This commit is contained in:
parent
256f92ad19
commit
9d2ec369d8
3 changed files with 44 additions and 11 deletions
|
|
@ -93,7 +93,7 @@ dbmate drop # drop the database
|
|||
dbmate migrate # run any pending migrations
|
||||
dbmate rollback # roll back the most recent migration
|
||||
dbmate down # alias for rollback
|
||||
dbmate status # show the status of all migrations
|
||||
dbmate status # show the status of all migrations (supports --exit-code and --quiet)
|
||||
dbmate dump # write the database schema.sql file
|
||||
dbmate wait # wait for the database server to become available
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue