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 Migration
shouldIgnoreError()
ash; Decides whether an error should be ignored or not. Inherited from Migration
exec()
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.