Class that handles dimension updates
The class defines the following methods:
getMigrations()ash; Return migrations to be executed in this update. Inherited from
doUpdate()ash; Perform the incremental version update. Inherited from
Return migrations to be executed in this update.
Migrations should be defined here, instead of in
doUpdate(), since this method is used to display a preview
of which migrations and database queries an update will run. If you execute migrations directly in
they won't be displayed to the user.
Perform the incremental version update.
This method should perform all updating logic. If you define migrations in an overridden
method, you must call Updater::executeMigrations() here.
See \Piwik\Plugins\ExamplePlugin\Updates\Updates_0_0_2 for an example.
It accepts the following parameter(s):
It does not return anything or a mixed result.