Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-09-10 05:59:59 +0300
committerGitHub <noreply@github.com>2020-09-10 05:59:59 +0300
commit6c47439c2ba98ee9be624ddf6b99cc125ec0a663 (patch)
treebd9839f10b2834fe959861fa9c4fdd5821e2ef2a /core
parent154317d2951d62625a8b3a0efecbbfc8d9f8348c (diff)
Fix DB column names in upgrade script (#16414)
Diffstat (limited to 'core')
-rw-r--r--core/Updates/4.0.0-b1.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/Updates/4.0.0-b1.php b/core/Updates/4.0.0-b1.php
index b903fd6d46..85a19feae8 100644
--- a/core/Updates/4.0.0-b1.php
+++ b/core/Updates/4.0.0-b1.php
@@ -128,12 +128,12 @@ class Updates_4_0_0_b1 extends PiwikUpdates
}
$columnsToAdd['log_visit']['visitor_seconds_since_last'] = VisitorSecondsSinceLast::COLUMN_TYPE;
$columnsToAdd['log_visit']['profilable'] = Profilable::COLUMN_TYPE;
- $columnsToAdd['log_visit'][TimeDomCompletion::class] = TimeDomCompletion::COLUMN_TYPE;
- $columnsToAdd['log_visit'][TimeDomProcessing::class] = TimeDomProcessing::COLUMN_TYPE;
- $columnsToAdd['log_visit'][TimeNetwork::class] = TimeNetwork::COLUMN_TYPE;
- $columnsToAdd['log_visit'][TimeOnLoad::class] = TimeOnLoad::COLUMN_TYPE;
- $columnsToAdd['log_visit'][TimeServer::class] = TimeServer::COLUMN_TYPE;
- $columnsToAdd['log_visit'][TimeTransfer::class] = TimeTransfer::COLUMN_TYPE;
+ $columnsToAdd['log_visit'][TimeDomCompletion::COLUMN_NAME] = TimeDomCompletion::COLUMN_TYPE;
+ $columnsToAdd['log_visit'][TimeDomProcessing::COLUMN_NAME] = TimeDomProcessing::COLUMN_TYPE;
+ $columnsToAdd['log_visit'][TimeNetwork::COLUMN_NAME] = TimeNetwork::COLUMN_TYPE;
+ $columnsToAdd['log_visit'][TimeOnLoad::COLUMN_NAME] = TimeOnLoad::COLUMN_TYPE;
+ $columnsToAdd['log_visit'][TimeServer::COLUMN_NAME] = TimeServer::COLUMN_TYPE;
+ $columnsToAdd['log_visit'][TimeTransfer::COLUMN_NAME] = TimeTransfer::COLUMN_TYPE;
$columnsToMaybeAdd = ['revenue', 'revenue_discount', 'revenue_shipping', 'revenue_subtotal', 'revenue_tax'];
$columnsLogConversion = $tableMetadata->getColumns(Common::prefixTable('log_conversion'));