Matomo database will be upgraded from version 3.14.0 to the new version 5.1.0.
The following plugins will be updated: TagManager.
The following dimensions will be updated: log_conversion.pageviews_before, log_link_visit_action.idaction_product_cat, log_link_visit_action.idaction_product_cat2, log_link_visit_action.idaction_product_cat3, log_link_visit_action.idaction_product_cat4, log_link_visit_action.idaction_product_cat5, log_link_visit_action.idaction_product_name, log_link_visit_action.idaction_product_sku, log_link_visit_action.product_price, log_visit.config_browser_name, log_visit.config_client_type, log_visit.profilable, log_visit.referer_name, log_visit.referer_url, log_visit.visit_total_interactions, log_visit.visitor_count_visits, log_visit.visitor_seconds_since_first, log_visit.visitor_seconds_since_last, log_visit.visitor_seconds_since_order.
Important notes for large Matomo installations
If you have a large Matomo database, updates might take too long to run in the browser. In this situation, you can execute the updates from your command line:
php /srv/www/consult/matomo/matomo/console core:update
If you manage a high traffic Matomo server, we recommend to momentarily disable visitor Tracking and put the Matomo User Interface in maintenance mode.
FYI: these are the SQL queries and console commands that will be executed to upgrade your database to Matomo 5.1.0
› Click here to view and copy the list of SQL queries and console commands that will get executed
# These console commands will be run:
./console core:matomo4-migrate-token-auths
# These SQL queries will be executed:
CREATE TABLE `matomo_archive_invalidations` (`idinvalidation` BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, `idarchive` INTEGER UNSIGNED NULL, `name` VARCHAR(255) NOT NULL, `idsite` INTEGER NOT NULL, `date1` DATE NOT NULL, `date2` DATE NOT NULL, `period` TINYINT UNSIGNED NOT NULL, `ts_invalidated` DATETIME NOT NULL, `status` TINYINT(1) UNSIGNED DEFAULT 0, `report` VARCHAR(255) NULL, PRIMARY KEY ( `idinvalidation` )) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `matomo_archive_invalidations` ADD INDEX index_idsite_dates_period_name (`idsite`, `date1`, `period`);
ALTER TABLE `matomo_user` DROP COLUMN `alias`;
DELETE FROM `matomo_session` WHERE length(id) > 190;
ALTER TABLE `matomo_session` CHANGE `id` `id` VARCHAR(191);
ALTER TABLE `matomo_site_url` CHANGE `url` `url` VARCHAR(190);
ALTER TABLE `matomo_option` CHANGE `option_name` `option_name` VARCHAR(191);
ALTER TABLE `matomo_log_action` CHANGE `name` `name` VARCHAR(4096);
ALTER TABLE `matomo_log_conversion` CHANGE `url` `url` VARCHAR(4096);
ALTER TABLE `matomo_log_link_visit_action` CHANGE `interaction_position` `pageview_position` MEDIUMINT UNSIGNED DEFAULT NULL;
# These console commands will be run:
./console plugin:activate "BulkTracking"
./console plugin:deactivate "CustomPiwikJs"
./console plugin:uninstall "CustomPiwikJs"
# These SQL queries will be executed:
ALTER TABLE `matomo_archive_invalidations` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2008_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2009_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2010_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2010_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2010_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2010_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2011_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2012_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2013_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2014_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2015_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2016_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2017_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2018_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2019_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2020_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2021_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2022_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2023_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_numeric_2024_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2008_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2009_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2010_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2010_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2010_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2010_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2011_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2012_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2013_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2014_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2015_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2016_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2017_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2018_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2019_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2020_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2021_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2022_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_08` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_09` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_10` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_11` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2023_12` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_01` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_02` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_03` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_04` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_05` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_06` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_archive_blob_2024_07` CHANGE `name` `name` VARCHAR(190);
ALTER TABLE `matomo_log_link_visit_action` ;
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.search_cat', 'VARCHAR(200) NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.search_count', 'INTEGER(10) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.time_dom_completion', 'MEDIUMINT(10) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.time_dom_processing', 'MEDIUMINT(10) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.time_network', 'MEDIUMINT(10) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.time_on_load', 'MEDIUMINT(10) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.time_server', 'MEDIUMINT(10) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_link_visit_action.time_transfer', 'MEDIUMINT(10) UNSIGNED NULL');
ALTER TABLE `matomo_log_visit` ADD COLUMN `visitor_seconds_since_first` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_order` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_last` INT(11) UNSIGNED NULL, ADD COLUMN `profilable` TINYINT(1) NULL;
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_visit.visitor_seconds_since_first', 'INT(11) UNSIGNED NULL1');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_visit.visitor_seconds_since_order', 'INT(11) UNSIGNED NULL1');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_visit.visitor_seconds_since_last', 'INT(11) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_visit.profilable', 'TINYINT(1) NULL');
ALTER TABLE `matomo_log_conversion` ADD COLUMN `visitor_seconds_since_first` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_order` INT(11) UNSIGNED NULL;
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_conversion.visitor_seconds_since_first', 'INT(11) UNSIGNED NULL');
INSERT IGNORE INTO `matomo_option` (option_name, option_value) VALUES ('version_log_conversion.visitor_seconds_since_order', 'INT(11) UNSIGNED NULL');
UPDATE matomo_log_link_visit_action SET search_cat = if(custom_var_k4 = '_pk_scat', custom_var_v4, search_cat), search_count = if(custom_var_k5 = '_pk_scount', custom_var_v5, search_count) WHERE custom_var_k4 = '_pk_scat' or custom_var_k5 = '_pk_scount';
DELETE FROM `matomo_option` WHERE option_name IN ("geoip.updater_period", "geoip.loc_db_url", "geoip.isp_db_url", "geoip.org_db_url");
UPDATE matomo_log_visit SET visitor_seconds_since_first = visitor_days_since_first * 86400, visitor_seconds_since_order = visitor_days_since_order * 86400, visitor_seconds_since_last = visitor_days_since_last * 86400;
UPDATE matomo_log_conversion SET visitor_seconds_since_first = visitor_days_since_first * 86400, visitor_seconds_since_order = visitor_days_since_order * 86400;
ALTER TABLE `matomo_log_visit` DROP COLUMN `config_gears`, DROP COLUMN `config_director`, DROP COLUMN `visitor_days_since_first`, DROP COLUMN `visitor_days_since_order`, DROP COLUMN `visitor_days_since_last`;
ALTER TABLE `matomo_log_conversion` DROP COLUMN `visitor_days_since_first`, DROP COLUMN `visitor_days_since_order`;
# These console commands will be run:
./console config:set --section="Tracker" --key="ignore_visits_cookie_name" --value="piwik_ignore"
./console plugin:activate "PagePerformance"
./console plugin:activate "CustomDimensions"
./console config:set --section="General" --key="login_allowlist_apply_to_reporting_api_requests" --value="0"
# These SQL queries will be executed:
ALTER TABLE `matomo_archive_invalidations` ADD COLUMN `ts_started` DATETIME NULL;
# These console commands will be run:
./console plugin:deactivate "ExampleTheme"
# These SQL queries will be executed:
UPDATE matomo_user_token_auth SET hash_algo = "sha512" where hash_algo is null or hash_algo = "" ;
# These console commands will be run:
./console plugin:uninstall "ExampleTheme"
./console plugin:deactivate "ExamplePlugin"
./console plugin:deactivate "ExampleLogTables"
./console plugin:deactivate "ExampleUI"
./console plugin:deactivate "ExampleReport"
./console plugin:deactivate "ExampleAPI"
./console plugin:deactivate "ExampleCommand"
./console plugin:deactivate "ExampleSettingsPlugin"
./console plugin:deactivate "ExampleTracker"
./console plugin:deactivate "ExampleVisualization"
./console plugin:uninstall "ExamplePlugin"
./console plugin:uninstall "ExampleLogTables"
./console plugin:uninstall "ExampleUI"
./console plugin:uninstall "ExampleReport"
./console plugin:uninstall "ExampleAPI"
./console plugin:uninstall "ExampleCommand"
./console plugin:uninstall "ExampleSettingsPlugin"
./console plugin:uninstall "ExampleTracker"
./console plugin:uninstall "ExampleVisualization"
php /srv/www/consult/matomo/matomo/console core:invalidate-report-data --sites=all --dates=2020-11-23,2024-11-21 --plugin=VisitFrequency
# These SQL queries will be executed:
UPDATE `matomo_archive_numeric_2008_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2009_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2010_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2010_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2010_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2010_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2011_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2012_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2013_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2014_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2015_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2016_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2017_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2018_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2019_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2020_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2021_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2022_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_07` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_08` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_09` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_10` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_11` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2023_12` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_01` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_02` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_03` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_04` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_05` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_06` SET `name` = 'done' WHERE `name` = 'done.';
UPDATE `matomo_archive_numeric_2024_07` SET `name` = 'done' WHERE `name` = 'done.';
ALTER TABLE `matomo_segment` ADD COLUMN `hash` CHAR(32) NULL AFTER `definition`;
UPDATE `matomo_segment` SET `hash` = '6877f7b941b75b22e3fc2d36c982671d' WHERE `idsegment` = '1';
ALTER TABLE `matomo_brute_force_log` ADD COLUMN `login` VARCHAR(100) NULL;
# These console commands will be run:
./console config:set --section="General" --key="login_allow_logme" --value="1"
# These SQL queries will be executed:
ALTER TABLE `matomo_session` CHANGE `data` `data` MEDIUMTEXT;
# These console commands will be run:
./console plugin:activate "CoreVue"
# These SQL queries will be executed:
ALTER TABLE `matomo_user` ADD COLUMN `idchange_last_viewed` INTEGER UNSIGNED NULL;
CREATE TABLE `matomo_changes` (`idchange` INT(11) NOT NULL AUTO_INCREMENT, `created_time` DATETIME NOT NULL, `plugin_name` VARCHAR(255) NOT NULL, `version` VARCHAR(20) NOT NULL, `title` VARCHAR(255) NOT NULL, `description` TEXT NOT NULL, `link_name` VARCHAR(255) NULL, `link` VARCHAR(255) NULL, PRIMARY KEY ( `idchange` )) ENGINE=InnoDB DEFAULT CHARSET=utf8;
ALTER TABLE `matomo_changes` CHANGE `plugin_name` `plugin_name` VARCHAR(60) NOT NULL;
ALTER TABLE `matomo_changes` DROP INDEX `unique_plugin_version_title`;
ALTER TABLE `matomo_changes` ADD UNIQUE KEY unique_plugin_version_title (`plugin_name`, `version`, `title` (100));
ALTER TABLE `matomo_user` ADD COLUMN `invite_status` ENUM('accept','pending','decline','expired') DEFAULT 'accept';
ALTER TABLE `matomo_user` DROP COLUMN `invite_status`;
ALTER TABLE `matomo_user` ADD COLUMN `invite_token` VARCHAR(191) DEFAULT null;
ALTER TABLE `matomo_user` ADD COLUMN `invited_by` VARCHAR(100) DEFAULT null;
ALTER TABLE `matomo_user` ADD COLUMN `invite_expired_at` TIMESTAMP null DEFAULT null;
ALTER TABLE `matomo_user` ADD COLUMN `invite_accept_at` TIMESTAMP null DEFAULT null;
ALTER TABLE `matomo_site` ADD COLUMN `excluded_referrers` TEXT NOT NULL AFTER `excluded_user_agents`;
ALTER TABLE `matomo_user` ADD UNIQUE KEY uniq_email (`email`);
ALTER TABLE `matomo_user` ADD COLUMN `invite_link_token` VARCHAR(191) DEFAULT null;
DELETE FROM `matomo_archive_numeric_2008_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2008_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2008_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2009_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2009_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2009_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2010_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2010_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2010_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2010_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2010_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2010_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2010_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2010_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2010_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2010_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2010_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2010_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2011_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2011_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2011_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2012_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2012_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2012_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2013_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2013_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2013_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2014_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2014_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2014_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2015_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2015_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2015_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2016_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2016_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2016_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2017_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2017_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2017_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2018_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2018_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2018_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2019_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2019_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2019_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2020_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2020_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2020_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2021_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2021_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2021_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2022_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2022_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2022_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_08` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_08` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_08` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_09` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_09` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_09` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_10` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_10` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_10` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_11` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_11` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_11` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2023_12` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2023_12` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2023_12` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_01` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_01` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_01` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_02` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_02` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_02` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_03` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_03` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_03` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_04` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_04` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_04` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_05` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_05` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_05` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_06` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_06` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_06` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
DELETE FROM `matomo_archive_numeric_2024_07` WHERE ts_archived is null;
ALTER TABLE `matomo_archive_numeric_2024_07` DROP INDEX `index_idsite_dates_period`;
ALTER TABLE `matomo_archive_numeric_2024_07` ADD INDEX index_idsite_dates_period (`idsite`, `date1`, `date2`, `period`, `name` (6));
ALTER TABLE `matomo_user_token_auth` ADD COLUMN `post_only` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `matomo_log_conversion` ADD COLUMN `pageviews_before` SMALLINT UNSIGNED DEFAULT NULL;
# These console commands will be run:
./console core:calculate-conversion-pages --dates=yesterday,today
# These SQL queries will be executed:
ALTER TABLE `matomo_log_visit` ADD INDEX `index_idsite_idvisitor_time` (`idsite`, `idvisitor`, `visit_last_action_time` DESC);
ALTER TABLE `matomo_log_visit` DROP INDEX `index_idsite_idvisitor`;
# These console commands will be run:
./console plugin:activate "JsTrackerInstallCheck"
# These SQL queries will be executed:
ALTER TABLE `matomo_user_token_auth` CHANGE `post_only` `secure_only` TINYINT(2) UNSIGNED NOT NULL DEFAULT '0';
ALTER TABLE `matomo_user` ADD COLUMN `ts_changes_shown` TIMESTAMP NULL;
ALTER TABLE `matomo_tagmanager_tag` ADD COLUMN `description` VARCHAR(1000) NOT NULL DEFAULT '' AFTER `name`;
ALTER TABLE `matomo_tagmanager_trigger` ADD COLUMN `description` VARCHAR(1000) NOT NULL DEFAULT '' AFTER `name`;
ALTER TABLE `matomo_tagmanager_variable` ADD COLUMN `description` VARCHAR(1000) NOT NULL DEFAULT '' AFTER `name`;
ALTER TABLE `matomo_tagmanager_container` ADD COLUMN `ignoreGtmDataLayer` TINYINT(1) UNSIGNED NOT NULL DEFAULT 0 AFTER `description`;
ALTER TABLE `matomo_log_visit` ADD COLUMN `profilable` TINYINT(1) NULL, ADD COLUMN `visitor_seconds_since_first` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_order` INT(11) UNSIGNED NULL, MODIFY COLUMN `visitor_count_visits` INT(11) UNSIGNED NOT NULL DEFAULT 0, MODIFY COLUMN `visit_total_interactions` MEDIUMINT UNSIGNED DEFAULT 0, MODIFY COLUMN `referer_name` VARCHAR(255) NULL, MODIFY COLUMN `referer_url` VARCHAR(1500) NULL, MODIFY COLUMN `config_browser_name` VARCHAR(40) NULL, ADD COLUMN `config_client_type` TINYINT( 1 ) NULL DEFAULT NULL, ADD COLUMN `visitor_seconds_since_last` INT(11) UNSIGNED NULL;
ALTER TABLE `matomo_log_conversion` ADD COLUMN `visitor_seconds_since_first` INT(11) UNSIGNED NULL, ADD COLUMN `visitor_seconds_since_order` INT(11) UNSIGNED NULL, MODIFY COLUMN `visitor_count_visits` INT(11) UNSIGNED NOT NULL DEFAULT 0, MODIFY COLUMN `referer_name` VARCHAR(255) NULL, ADD COLUMN `config_browser_name` VARCHAR(40) NULL, ADD COLUMN `config_client_type` TINYINT( 1 ) NULL DEFAULT NULL, ADD COLUMN `pageviews_before` SMALLINT UNSIGNED DEFAULT NULL;
ALTER TABLE `matomo_log_link_visit_action` ADD COLUMN `idaction_product_cat` INT(10) UNSIGNED NULL, ADD COLUMN `idaction_product_cat2` INT(10) UNSIGNED NULL, ADD COLUMN `idaction_product_cat3` INT(10) UNSIGNED NULL, ADD COLUMN `idaction_product_cat4` INT(10) UNSIGNED NULL, ADD COLUMN `idaction_product_cat5` INT(10) UNSIGNED NULL, ADD COLUMN `idaction_product_name` INT(10) UNSIGNED NULL, ADD COLUMN `product_price` DOUBLE NULL, ADD COLUMN `idaction_product_sku` INT(10) UNSIGNED NULL;
Need help upgrading Matomo?
If you need support to upgrade your Matomo, the creators of Matomo are here to help you make the Matomo upgrade a success and provide all instructions, best practises and ongoing support. Contact the Matomo experts to get started upgrading your Matomo safely.
Ready to go?
The database upgrade process may take a while, so please be patient.
File integrity check failed and reported some errors. You should fix this issue and then refresh this page until it shows no error. |
Directories were found in your Matomo, but we didn't expect them. --> Please delete these directories to prevent errors. <-- Directory to delete: libs/bower_components To delete all these directories at once, you can run this command: rm -Rf /srv/www/consult/matomo/matomo/libs/bower_components |
Files were found in your Matomo, but we didn't expect them. --> Please delete these files to prevent errors. <-- File to delete: config/environment/test.php File to delete: config/environment/ui-test.php File to delete: misc/composer/build-xhprof.sh File to delete: misc/composer/clean-xhprof.sh File to delete: misc/others/ExamplePiwikTracker.php File to delete: misc/others/uninstall-delete-piwik-directory.php File to delete: x.php File to delete: vendor/php-di/php-di/.phpstorm.meta.php File to delete: vendor/twig/twig/.php_cs.dist To delete all these files at once, you can run this command: rm "/srv/www/consult/matomo/matomo/config/environment/test.php" "/srv/www/consult/matomo/matomo/config/environment/ui-test.php" "/srv/www/consult/matomo/matomo/misc/composer/build-xhprof.sh" "/srv/www/consult/matomo/matomo/misc/composer/clean-xhprof.sh" "/srv/www/consult/matomo/matomo/misc/others/ExamplePiwikTracker.php" "/srv/www/consult/matomo/matomo/misc/others/uninstall-delete-piwik-directory.php" "/srv/www/consult/matomo/matomo/x.php" "/srv/www/consult/matomo/matomo/vendor/php-di/php-di/.phpstorm.meta.php" "/srv/www/consult/matomo/matomo/vendor/twig/twig/.php_cs.dist" |