mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 08:00:04 +01:00
Document down command
This commit is contained in:
parent
b2ca8aad36
commit
54b58d850e
1 changed files with 8 additions and 7 deletions
15
README.md
15
README.md
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue