Document down command

This commit is contained in:
Adrian Macneil 2016-08-07 23:28:30 -07:00
parent b2ca8aad36
commit 54b58d850e

View file

@ -66,13 +66,14 @@ $ go get -u github.com/amacneil/dbmate
## Commands ## Commands
```sh ```sh
dbmate # print help dbmate # print help
dbmate new # generate a new migration file dbmate new # generate a new migration file
dbmate up # create the database (if it does not already exist) and run any pending migrations dbmate up # create the database (if it does not already exist) and run any pending migrations
dbmate create # create the database dbmate create # create the database
dbmate drop # drop the database dbmate drop # drop the database
dbmate migrate # run any pending migrations dbmate migrate # run any pending migrations
dbmate rollback # roll back the most recent migration dbmate rollback # roll back the most recent migration
dbmate down # alias for rollback
``` ```
## Usage ## Usage