Piwik\Updater\Migration\
Base class for a single database migration.
The abstract class defines the following methods:
exec() ash; Executes the migration. Inherited from Migration__toString() ash; Get a description of what the migration actually does. Inherited from MigrationshouldIgnoreError() ash; Decides whether an error should be ignored or not. Inherited from Migrationexec()Executes the migration.
void value.__toString()Get a description of what the migration actually does. For example "Activate plugin $plugin" or "SELECT * FROM table".
string value.shouldIgnoreError()Decides whether an error should be ignored or not.
It accepts the following parameter(s):
$exception (Exception) —It returns a bool value.