the current recommend command to upgrade Piwik is:
php index.php -- "module=CoreUpdater" ```
instead let's add a new console command such as:
./console coreadmin:update ```
this would:
- run the Core upgrade and Plugins upgrades,
- for each execute the changes in the */Updates/ directories, and execute the SQL code and/or scripts.
- --dry-run -> when this is specified, print the SQL queries that would otherwise be executed. Useful for debugging or preparations before big upgrades.
So after updating Piwik files for core and/or plugins one can run this command to upgrade the schema and run any upgrade script.
the current recommend command to upgrade Piwik is:
./console coreadmin:update ```
this would:
So after updating Piwik files for core and/or plugins one can run this command to upgrade the schema and run any upgrade script.