oddnoc/silverstripe-artefactcleaner

Find and optionally delete unused tables, columns and indexes in a SilverStripe database

Installs: 5 730

Dependents: 0

Suggesters: 0

Stars: 12

Watchers: 2

Forks: 5

Open Issues: 0

Type:silverstripe-vendormodule

4.0.1 2019-11-08 23:34 UTC

README

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.

Installation

composer require --dev oddnoc/silverstripe-artefactcleaner

Usage

Invoke the task via the command line or the browser.

vendor/bin/sake dev/tasks/ArtefactCleanTask
vendor/bin/sake dev/tasks/ArtefactCleanTask dropping=1

Credits:

Version

4.0.1