Skip to content

Commit 60c51f7

Browse files
Update docs
1 parent e2e77a1 commit 60c51f7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,13 @@ Giving your snapshot a name is optional. If you don't pass a name the current da
133133
php artisan snapshot:create
134134
```
135135

136+
If you pass a connection but do not declare a name for the snapshot, the connection will be prepended
137+
138+
```bash
139+
# Creates a snapshot named something like `logging_2017-03-17 14:31`
140+
php artisan snapshot:create --connection=logging
141+
```
142+
136143
Maybe you only want to snapshot a couple of tables. You can do this by passing the `--table` multiple times or as a comma separated list:
137144

138145
```bash

0 commit comments

Comments
 (0)