Sunnysideup\DataIntegrityTest\DataIntegrityTest
Synopsis
class DataIntegrityTest
extends BuildTask
{
- // members
- protected string $title = 'Check Database Integrity';
- protected string $description = 'Go through all fields in the database and work out what fields are superfluous.';
- private static string $warning = 'are you sure - this step is irreversible! - MAKE SURE TO MAKE A BACKUP OF YOUR DATABASE BEFORE YOU CONFIRM THIS!';
- private static array $test_array = ;
- private static array $global_exceptions = ;
- private static array $fields_to_delete = ;
- private static array $allowed_actions = ;
- // methods
- public void init()
- public void run()
- public void deletemarkedfields()
- public void deleteonefield()
- protected void Link()
- protected void obsoletefields()
- protected void hasVersioning()
- private void cleanupdb()
- private void deleteField()
- private void swapArray()
- private void deleteobsoletetables()
- private void deleteallversions()
- private void tableExists()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Members
private
- $allowed_actions
- $fields_to_delete
- $global_exceptions
- $test_array
- $warning
protected
- $description
—
string
standard SS variable - $title
—
string
standard SS variable