After I do some coding, I end off with a lot of mess in the DB.
Is there any way to delete the unused DB tables and fields ? After all SS know which are not in use
Thanks,
Rotem.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
After I do some coding, I end off with a lot of mess in the DB.
Is there any way to delete the unused DB tables and fields ? After all SS know which are not in use
Thanks,
Rotem.
You'll have to manually open phpMyAdmin and edit the tables and structure yourself. There are no automated tools with SS for cleaning the database.
this can be nice feature request.
when calling the /dev/build, instead of just add the new fields to delete the unused one (when adding some parameter, like /dev/build?delunuse=1 or so) so for regular updated it will keep the current - safe - behavior.