Skip to content

Commit b640d7e

Browse files
committed
updated readme
1 parent 7392384 commit b640d7e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ REMOTE_SSH_USERNAME=
3737
REMOTE_DATABASE_HOST=
3838
3939
REMOTE_DATABASE_USERNAME=
40+
REMOTE_DATABASE_PORT=3306
4041
REMOTE_DATABASE_NAME=
4142
REMOTE_DATABASE_PASSWORD=
4243
REMOTE_DATABASE_IGNORE_TABLES=''
@@ -49,6 +50,7 @@ For only MySQL remote connections:
4950
```
5051
REMOTE_DATABASE_HOST=
5152
REMOTE_DATABASE_USERNAME=
53+
REMOTE_DATABASE_PORT=3306
5254
REMOTE_DATABASE_NAME=
5355
REMOTE_DATABASE_PASSWORD=
5456
REMOTE_DATABASE_IGNORE_TABLES=''
@@ -80,3 +82,16 @@ Run the command without attempting to export:
8082
```bash
8183
php artisan db:production-sync --test
8284
```
85+
86+
## Aliases
87+
88+
There are shortcuts that can be used:
89+
90+
`-T` = will use `--test`
91+
`F` = will use `--filename`
92+
93+
## Alternative name
94+
95+
When connecting to a none production database, say a staging database you can choose to use this alternative name:
96+
97+
`db:remote-sync` may be used instead of `db:production-sync`

0 commit comments

Comments
 (0)