Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dcblogdev committed Aug 20, 2022
1 parent 7392384 commit b640d7e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ REMOTE_SSH_USERNAME=
REMOTE_DATABASE_HOST=
REMOTE_DATABASE_USERNAME=
REMOTE_DATABASE_PORT=3306
REMOTE_DATABASE_NAME=
REMOTE_DATABASE_PASSWORD=
REMOTE_DATABASE_IGNORE_TABLES=''
Expand All @@ -49,6 +50,7 @@ For only MySQL remote connections:
```
REMOTE_DATABASE_HOST=
REMOTE_DATABASE_USERNAME=
REMOTE_DATABASE_PORT=3306
REMOTE_DATABASE_NAME=
REMOTE_DATABASE_PASSWORD=
REMOTE_DATABASE_IGNORE_TABLES=''
Expand Down Expand Up @@ -80,3 +82,16 @@ Run the command without attempting to export:
```bash
php artisan db:production-sync --test
```

## Aliases

There are shortcuts that can be used:

`-T` = will use `--test`
`F` = will use `--filename`

## Alternative name

When connecting to a none production database, say a staging database you can choose to use this alternative name:

`db:remote-sync` may be used instead of `db:production-sync`

0 comments on commit b640d7e

Please sign in to comment.