Updater
Piwik\Columns\
Updater
Class that handles dimension updates
Methods
The class defines the following methods:
getMigrations()doUpdate()ash; Perform the incremental version update. Inherited fromUpdates
getMigrations()
Signature
It accepts the following parameter(s):
$updater(Updater) —
It returns a
Migration[]value.
doUpdate()
Perform the incremental version update.
This method should perform all updating logic. If you define migrations in an overridden getMigrations()
method, you must call Updater::executeMigrations() here.
See \Piwik\Plugins\ExamplePlugin\Updates\Updates_0_0_2 for an example.
Signature
It accepts the following parameter(s):
$updater(Updater) —
It does not return anything or a mixed result.