Skip to content

Commit 5640113

Browse files
authored
Clarify deleted records in README (#22)
The Morph To Many relation uses a pivot table. Thus, not the Tag record will be deleted, but the pivot record in the ```taggables``` table.
1 parent a0371c1 commit 5640113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ class Video extends Model
5959
}
6060
```
6161

62-
Now you can delete an `App\Video` record, and any associated `App\Image`, `App\Tag` and
63-
`App\Options` records will be deleted.
62+
Now you can delete an `App\Video` record, and any associated `App\Image`, `App\Options` and pivot records for
63+
`App\Tag` will be deleted.
6464

6565
## Delete Residuals
6666

0 commit comments

Comments
 (0)