Find and optionally delete unused tables, columns and indexes in a SilverStripe database
Find and optionally delete unused tables, columns and indexes in a SilverStripe database.
SilverStripe uses an automatic schema creation tool that leaves behind old and obsolete tables, columns, and indexes.
This package displays and optionally deletes those artefacts.
composer require --dev oddnoc/silverstripe-artefactcleaner
Invoke the task via the command line or the browser.
vendor/bin/sake dev/tasks/ArtefactCleanTask vendor/bin/sake dev/tasks/ArtefactCleanTask dropping=1