Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added information that media wont be deleted if the deleted model use… #2993

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

titonova
Copy link
Contributor

…s soft deletes

@freekmurze freekmurze merged commit 2c80b01 into spatie:main Aug 1, 2022
@freekmurze
Copy link
Member

Thanks!

Copy link
Contributor

@lukas-pierce lukas-pierce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syntax error

@@ -95,10 +95,10 @@ $mediaItems[0]->delete();

When a `Media` instance gets deleted all related files will be removed from the filesystem.

Deleting a model with associated media will also delete all associated files.
Deleting a model with associated media will also delete all associated files, if the model does not youse `SoftDelete`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syntax error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants