I have a running Laravel application in production, I noticed that the database is getting Giantic so I checked the storage size of each table:
So it seems the telescope log is consuming a lot maybe because of a broken cron job, any way I run the following command:
php artisan telescope:prune
it took ages then it reported that a number of entries are cleaned, but the database size did not change and still the same as the image above
Can I truncate the two telescope tables in the database manually? is it safe?
You can use
php artisan telescope:clear
to remove / clear entries from Telescope.also you might be able to use
php artisan telescope:prune
(have not used it before)Good luck