Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sairahcaz authored Mar 12, 2023
1 parent f7d5e64 commit a3f9121
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,19 +168,22 @@ class MyTest extends TestCase

---

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

```bash
php artisan db:truncate
```
```
INFO Preparing database.
INFO Start truncating tables.
Truncating table: failed_jobs .............................................. 135ms DONE
Truncating table: migrations ................................................ 87ms DONE
Truncating table: password_reset_tokens ..................................... 79ms DONE
Truncating table: personal_access_tokens .................................... 86ms DONE
Truncating table: users ..................................................... 78ms DONE
INFO Finished truncating tables.
```

## Testing
Expand Down

0 comments on commit a3f9121

Please sign in to comment.