Piwik\
Load and execute all relevant, incremental update scripts for Matomo (formerly Piwik) core and plugins, and bump the component version numbers for completed updates.
The class defines the following methods:
executeMigrations() — Execute multiple migration queries from a single Update file.executeMigration()executeMigrations()Execute multiple migration queries from a single Update file.
$file (string) —
The path to the Updates file.$migrations (Migration[]) —
An array of migrationsexecuteMigration()It accepts the following parameter(s):
$file
$migration (Migration) —
It does not return anything or a mixed result.
Piwik\UpdaterErrorException