From 4f76b5fa656ff415a13fb2f7742d4e40ecef458a Mon Sep 17 00:00:00 2001 From: Arne Becker Date: Wed, 18 Jan 2023 11:28:52 +0100 Subject: [PATCH] Clarify deleted records in README 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. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7df1fb..191b5f7 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ class Video extends Model } ``` -Now you can delete an `App\Video` record, and any associated `App\Image`, `App\Tag` and -`App\Options` records will be deleted. +Now you can delete an `App\Video` record, and any associated `App\Image`, `App\Options` and pivot records for +`App\Tag` will be deleted. ## Delete Residuals