RealWorldDev liked a comment+100 XP
6mos ago
Upgrading Laravel 9 to 10 deleted database data
@realworlddev Going forward, never run the optimize or any caching commands outside of your production environment. Laravel did add a Composer command to clear the cache and run tests a few months ago, but it shouldn’t be needed as you shouldn’t be caching your configuration locally in the first place.