2017 © Pedro Peláez
 

silverstripe-module dataobjectcruft

A tool for finding and removing tables, fields and indexes which are no longer needed in a SilverStripe database

image

thefrozenfire/dataobjectcruft

A tool for finding and removing tables, fields and indexes which are no longer needed in a SilverStripe database

  • Sunday, April 21, 2013
  • by TheFrozenFire
  • Repository
  • 1 Watchers
  • 2 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 2 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SilverStripe DataObject Cruft

This module provides a tool in DatabaseAdmin for analyzing and removing parts of the database schema which are left-over from earlier development or removed modules (a.k.a. cruft)., (*1)

Requirements

  • SilverStripe 3.0+

Installation

This module can be installed using composer, by adding the package thefrozenfire/dataobjectcruft, or by cloning this repository to the folder dataobjectcruft. It is recommended that you not install this package in your production environment, as its security impact has not been evaluated., (*2)

Usage

Once installed, run /dev/build to ensure that the necessary extensions are loaded. Simply visit /dev/scrub to view tables, fields, and indexes which have been identified as not being part of the SilverStripe-generated schema., (*3)

Before proceeding with any use of this tool, you are urged to ensure that you have recent backups which you can restore from, in case something goes wrong., (*4)

Not all items listed in this interface are guaranteed to be safely removeable. There are certain situations involving an overloaded DataObject::requireTable, or a DataExtension::augmentDatabase, which can result in additional schema data being generated. Please inspect each schema item that is listed, and only select those items which you are sure are not necessary., (*5)

Once you have selected each item which you wish to removed, click the "Delete Cruft" button. This will remove all selected schema data., (*6)

The Versions

21/04 2013

dev-master

9999999-dev

A tool for finding and removing tables, fields and indexes which are no longer needed in a SilverStripe database

  Sources   Download

BSD-3-Clause

The Requires

 

dev silverstripe

21/04 2013

1.0

1.0.0.0

A tool for finding and removing tables, fields and indexes which are no longer needed in a SilverStripe database

  Sources   Download

BSD-3-Clause

The Requires

 

dev silverstripe