Closed michele-grifa closed 6 months ago
This is expected behaviour. In your code sample you are retrieving the Eloquent model and updating it in the database, no file is touched when doing it like this.
If you want to update the file on disk you will need to do this yourself.
I want to edit the file_name of a media, but after save, the file on the filesystem, doesn't sync and have the old name.
Laravel Version: 9.52.16 Spatie Version: 10.15.0