Skip to content

Commit

Permalink
add residual use
Browse files Browse the repository at this point in the history
  • Loading branch information
cesargb committed Jan 18, 2019
1 parent c5ea7af commit 0dac8d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,14 @@ $video = new Video;

$video->deleteMorphResidual();
```
### Command to remove all residuals

You can use Artisan command `morph:clean` to remove all residuals data from all
your Moldes that used the `Cesargb\Database\Support\CascadeDelete` trait.

```php
php artisan morph:clean
```

## Contributing

Expand Down

0 comments on commit 0dac8d3

Please sign in to comment.