Skip to content

Commit 91afe5b

Browse files
committed
Merge branch 'main' of github.com:laracraft-tech/laravel-useful-additions into main
2 parents 7b41fcf + ff5468f commit 91afe5b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-useful-additions` will be documented in this file.
44

5+
## v3.1.0 - 2023-03-12
6+
7+
Added `db:truncate` command
8+
59
## v3.0.0 - 2023-03-12
610

711
Rename package

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here we will share some useful Laravel additions we need in our daily work.
1919
-
2020
### Commands
2121

22-
- [`db:truncate`](#db:truncate)
22+
- [`db:truncate`](#dbtruncate)
2323

2424
## Installation
2525

@@ -35,10 +35,6 @@ Then publish the config file with:
3535
php artisan vendor:publish --tag="useful-additions-config"
3636
```
3737

38-
## Usage
39-
40-
---
41-
4238
## Traits
4339

4440
### UsefulEnums
@@ -178,13 +174,13 @@ This command truncates all the tables of your current database connection:
178174
php artisan db:truncate
179175
```
180176
```
181-
INFO Preparing database.
177+
INFO Preparing database.
182178
183-
Truncating table: failed_jobs ......................................................................................................... 135ms DONE
184-
Truncating table: migrations ........................................................................................................... 87ms DONE
185-
Truncating table: password_reset_tokens ................................................................................................ 79ms DONE
186-
Truncating table: personal_access_tokens ............................................................................................... 86ms DONE
187-
Truncating table: users ................................................................................................................ 78ms DONE
179+
Truncating table: failed_jobs .............................................. 135ms DONE
180+
Truncating table: migrations ................................................ 87ms DONE
181+
Truncating table: password_reset_tokens ..................................... 79ms DONE
182+
Truncating table: personal_access_tokens .................................... 86ms DONE
183+
Truncating table: users ..................................................... 78ms DONE
188184
```
189185

190186
## Testing

0 commit comments

Comments
 (0)