oddnoc/silverstripe-artefactcleaner

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

Installs: 7 740

Dependents: 0

Suggesters: 0

Security: 0

Stars: 13

Watchers: 2

Forks: 4

Open Issues: 0

Type:silverstripe-vendormodule

4.0.1 2019-11-08 23:34 UTC

This package is auto-updated.

Last update: 2020-05-09 00:33:43 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