Skip to content

Commit a3f9121

Browse files
authored
Update README.md
1 parent f7d5e64 commit a3f9121

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,19 +168,22 @@ class MyTest extends TestCase
168168

169169
---
170170

171-
This command truncates all the tables of your current database connection:
171+
This command truncates all the tables of your current database connection. Checkout `--help` to see arguments and options.
172+
It for instance, lets you also truncate only **specific** tables or disable **foreigen key checks** or maybe run in **force** mode.
172173

173174
```bash
174175
php artisan db:truncate
175176
```
176177
```
177-
INFO Preparing database.
178+
INFO Start truncating tables.
178179
179180
Truncating table: failed_jobs .............................................. 135ms DONE
180181
Truncating table: migrations ................................................ 87ms DONE
181182
Truncating table: password_reset_tokens ..................................... 79ms DONE
182183
Truncating table: personal_access_tokens .................................... 86ms DONE
183184
Truncating table: users ..................................................... 78ms DONE
185+
186+
INFO Finished truncating tables.
184187
```
185188

186189
## Testing

0 commit comments

Comments
 (0)