Skip to content
Extraits de code Groupes Projets
Valider 223e8cc9 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

DB field piwik_log_visit.visit_total_actions too small (#10002)

* fixes #9565 DB field piwik_log_visit.visit_total_actions too small

* change type of some db columns that are too small
parent 168ac84b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -18,7 +18,7 @@ use Piwik\Tracker\Visitor; ...@@ -18,7 +18,7 @@ use Piwik\Tracker\Visitor;
class VisitTotalActions extends VisitDimension class VisitTotalActions extends VisitDimension
{ {
protected $columnName = 'visit_total_actions'; protected $columnName = 'visit_total_actions';
protected $columnType = 'SMALLINT(5) UNSIGNED NOT NULL'; protected $columnType = 'INT(11) UNSIGNED NOT NULL';
protected function configureSegments() protected function configureSegments()
{ {
......
...@@ -18,7 +18,7 @@ use Piwik\Tracker\Visitor; ...@@ -18,7 +18,7 @@ use Piwik\Tracker\Visitor;
class VisitTotalTime extends VisitDimension class VisitTotalTime extends VisitDimension
{ {
protected $columnName = 'visit_total_time'; protected $columnName = 'visit_total_time';
protected $columnType = 'SMALLINT(5) UNSIGNED NOT NULL'; protected $columnType = 'INT(11) UNSIGNED NOT NULL';
protected function configureSegments() protected function configureSegments()
{ {
......
...@@ -17,7 +17,7 @@ use Piwik\Tracker\Visitor; ...@@ -17,7 +17,7 @@ use Piwik\Tracker\Visitor;
class VisitsCount extends VisitDimension class VisitsCount extends VisitDimension
{ {
protected $columnName = 'visitor_count_visits'; protected $columnName = 'visitor_count_visits';
protected $columnType = 'SMALLINT(5) UNSIGNED NOT NULL'; protected $columnType = 'INT(11) UNSIGNED NOT NULL';
protected function configureSegments() protected function configureSegments()
{ {
......
...@@ -18,7 +18,7 @@ use Piwik\Tracker\Visitor; ...@@ -18,7 +18,7 @@ use Piwik\Tracker\Visitor;
class TotalEvents extends VisitDimension class TotalEvents extends VisitDimension
{ {
protected $columnName = 'visit_total_events'; protected $columnName = 'visit_total_events';
protected $columnType = 'SMALLINT(5) UNSIGNED NOT NULL'; protected $columnType = 'INT(11) UNSIGNED NOT NULL';
protected function configureSegments() protected function configureSegments()
{ {
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter