Update README.md (#135)

This commit is contained in:
Adrian Macneil 2020-05-24 17:08:16 -07:00 committed by GitHub
parent de0b51e623
commit 45a122eb86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -270,15 +270,8 @@ $ dbmate wait
Waiting for database....
```
You can chain `wait` together with other commands if you sometimes see failures caused by the database not yet being ready:
You can also use the `--wait` flag with other commands if you sometimes see failures caused by the database not yet being ready:
```sh
$ dbmate wait && dbmate up
Waiting for database....
Creating: myapp_development
```
Alternatively you can use the `--wait` flag:
```sh
$ dbmate --wait up
Waiting for database....