diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-09-27 04:35:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-27 04:35:02 +0300 |
commit | b073766826fac25c8f3558c3d66a5741bdceb91a (patch) | |
tree | 7fbe369d840b4d1d6ee7c6941ce82bfdd2aea650 /plugins/Events | |
parent | 60ab0f1cc3ecbc1f78bd90c2551cb9adba5d73bb (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.php | 2 | ||||
-rw-r--r-- | plugins/Events/Columns/EventCategory.php | 2 |
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() { |