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
diff options
context:
space:
mode:
authorMatthieu Aubry <mattab@users.noreply.github.com>2016-09-27 04:35:02 +0300
committerGitHub <noreply@github.com>2016-09-27 04:35:02 +0300
commitb073766826fac25c8f3558c3d66a5741bdceb91a (patch)
tree7fbe369d840b4d1d6ee7c6941ce82bfdd2aea650 /plugins/Events
parent60ab0f1cc3ecbc1f78bd90c2551cb9adba5d73bb (diff)
do not make log_action.idaction (and foreign keys) BIGINT to prevent large overhead (#10569)
Partial revert https://github.com/piwik/piwik/pull/10548/files
Diffstat (limited to 'plugins/Events')
-rw-r--r--plugins/Events/Columns/EventAction.php2
-rw-r--r--plugins/Events/Columns/EventCategory.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Events/Columns/EventAction.php b/plugins/Events/Columns/EventAction.php
index 9db6d1de0b..79b3b5867b 100644
--- a/plugins/Events/Columns/EventAction.php
+++ b/plugins/Events/Columns/EventAction.php
@@ -18,7 +18,7 @@ use Piwik\Tracker\Request;
class EventAction extends ActionDimension
{
protected $columnName = 'idaction_event_action';
- protected $columnType = 'BIGINT(10) UNSIGNED DEFAULT NULL';
+ protected $columnType = 'INTEGER(10) UNSIGNED DEFAULT NULL';
protected function configureSegments()
{
diff --git a/plugins/Events/Columns/EventCategory.php b/plugins/Events/Columns/EventCategory.php
index 2a0477d221..7c6b5fd02a 100644
--- a/plugins/Events/Columns/EventCategory.php
+++ b/plugins/Events/Columns/EventCategory.php
@@ -18,7 +18,7 @@ use Piwik\Tracker\Request;
class EventCategory extends ActionDimension
{
protected $columnName = 'idaction_event_category';
- protected $columnType = 'BIGINT(10) UNSIGNED DEFAULT NULL';
+ protected $columnType = 'INTEGER(10) UNSIGNED DEFAULT NULL';
protected function configureSegments()
{