Skip to content

Commit

Permalink
Make interaction_position and visit_total_interactions MEDIUMINT to p…
Browse files Browse the repository at this point in the history
…revent Numeric value out of range: 1264 Out of range value for column interaction_position / visit_total_interactions (#11086)

* Make interaction_position MEDIUMINT to prevent  Numeric value out of range: 1264 Out of range value for column 'interaction_position'
fixes #11058

* Make visit_total_interactions MEDIUMINT to prevent  Numeric value out of range: 1264 Out of range value for column 'visit_total_interactions'
  • Loading branch information
mattab authored and tsteur committed Jan 20, 2020
1 parent 9735fdd commit 6b3273c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/Actions/Columns/InteractionPosition.php
Expand Up @@ -18,7 +18,7 @@
class InteractionPosition extends ActionDimension
{
protected $columnName = 'interaction_position';
protected $columnType = 'SMALLINT UNSIGNED DEFAULT NULL';
protected $columnType = 'MEDIUMINT UNSIGNED DEFAULT NULL';
protected $nameSingular = 'Actions_ColumnInteractionPosition';
protected $type = self::TYPE_NUMBER;

Expand Down
2 changes: 1 addition & 1 deletion plugins/Actions/Columns/VisitTotalInteractions.php
Expand Up @@ -17,7 +17,7 @@
class VisitTotalInteractions extends VisitDimension
{
protected $columnName = 'visit_total_interactions';
protected $columnType = 'SMALLINT UNSIGNED DEFAULT 0';
protected $columnType = 'MEDIUMINT UNSIGNED DEFAULT 0';
protected $type = self::TYPE_NUMBER;
protected $segmentName = 'interactions';
protected $nameSingular = 'General_NbInteractions';
Expand Down

0 comments on commit 6b3273c

Please sign in to comment.