Find and optionally delete unused tables, columns and indexes in a SilverStripe database
Find and optionally delete disused tables and fields in a SilverStripe database.
During development of a SilverStripe application it is common to delete a data
object class or remove a field from a data object. This leaves obsolete columns
and tables in your database. Because these columns or tables may contain data
that you still want, the SilverStripe framework doesn't delete those
automatically. This task displays the obsolete columns and tables in the form of
ALTER commands. It also provides a way to delete them. If you
do that, there is no undo, so always make a backup first.
This task runs only on the CLI, so it needs an empty parameter to do the actual
sake dev/tasks/ArtefactCleanTask sake dev/tasks/ArtefactCleanTask '' dropping=1
composer require --dev oddnoc/silverstripe-artefactcleaner
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem