mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2026-02-02 09:25:07 +01:00
Update README.md (#135)
This commit is contained in:
parent
de0b51e623
commit
45a122eb86
1 changed files with 1 additions and 8 deletions
|
|
@ -270,15 +270,8 @@ $ dbmate wait
|
||||||
Waiting for database....
|
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
|
```sh
|
||||||
$ dbmate --wait up
|
$ dbmate --wait up
|
||||||
Waiting for database....
|
Waiting for database....
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue