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/Contents | |
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/Contents')
-rw-r--r-- | plugins/Contents/Columns/ContentInteraction.php | 2 | ||||
-rw-r--r-- | plugins/Contents/Columns/ContentName.php | 2 | ||||
-rw-r--r-- | plugins/Contents/Columns/ContentPiece.php | 2 | ||||
-rw-r--r-- | plugins/Contents/Columns/ContentTarget.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Contents/Columns/ContentInteraction.php b/plugins/Contents/Columns/ContentInteraction.php index 003581a7f1..1c3632d3cc 100644 --- a/plugins/Contents/Columns/ContentInteraction.php +++ b/plugins/Contents/Columns/ContentInteraction.php @@ -17,7 +17,7 @@ use Piwik\Tracker\Request; class ContentInteraction extends ActionDimension { protected $columnName = 'idaction_content_interaction'; - protected $columnType = 'BIGINT(10) UNSIGNED DEFAULT NULL'; + protected $columnType = 'INTEGER(10) UNSIGNED DEFAULT NULL'; protected function configureSegments() { diff --git a/plugins/Contents/Columns/ContentName.php b/plugins/Contents/Columns/ContentName.php index 1ad252e05b..5ed5485791 100644 --- a/plugins/Contents/Columns/ContentName.php +++ b/plugins/Contents/Columns/ContentName.php @@ -17,7 +17,7 @@ use Piwik\Tracker\Request; class ContentName extends ActionDimension { protected $columnName = 'idaction_content_name'; - protected $columnType = 'BIGINT(10) UNSIGNED DEFAULT NULL'; + protected $columnType = 'INTEGER(10) UNSIGNED DEFAULT NULL'; protected function configureSegments() { diff --git a/plugins/Contents/Columns/ContentPiece.php b/plugins/Contents/Columns/ContentPiece.php index bc75f63cfb..6affe9a3d0 100644 --- a/plugins/Contents/Columns/ContentPiece.php +++ b/plugins/Contents/Columns/ContentPiece.php @@ -17,7 +17,7 @@ use Piwik\Tracker\Request; class ContentPiece extends ActionDimension { protected $columnName = 'idaction_content_piece'; - protected $columnType = 'BIGINT(10) UNSIGNED DEFAULT NULL'; + protected $columnType = 'INTEGER(10) UNSIGNED DEFAULT NULL'; protected function configureSegments() { diff --git a/plugins/Contents/Columns/ContentTarget.php b/plugins/Contents/Columns/ContentTarget.php index 72d9ae7952..26c7a0d7a2 100644 --- a/plugins/Contents/Columns/ContentTarget.php +++ b/plugins/Contents/Columns/ContentTarget.php @@ -17,7 +17,7 @@ use Piwik\Tracker\Request; class ContentTarget extends ActionDimension { protected $columnName = 'idaction_content_target'; - protected $columnType = 'BIGINT(10) UNSIGNED DEFAULT NULL'; + protected $columnType = 'INTEGER(10) UNSIGNED DEFAULT NULL'; protected function configureSegments() { |