Laravel – Running cleanup method before migrate:fresh to remove old images from storage
I would like to cleanup the locally seeded storage images when running php artisan migrate:fresh --seed. I noticed that all the database tables get dropped before the seeders even start. So my method for cleaning up local storage images was…