From ec7062afe216bfb875d87a173c5f72414770464d Mon Sep 17 00:00:00 2001
From: sgiehl <stefan@piwik.org>
Date: Wed, 15 Oct 2014 21:51:15 +0200
Subject: [PATCH] column needs to be created on install

---
 core/Columns/Updater.php                           | 1 +
 plugins/DevicesDetection/Columns/BrowserEngine.php | 1 +
 2 files changed, 2 insertions(+)

diff --git a/core/Columns/Updater.php b/core/Columns/Updater.php
index 1bc53607ca..6c42ba0dff 100644
--- a/core/Columns/Updater.php
+++ b/core/Columns/Updater.php
@@ -259,6 +259,7 @@ class Updater extends \Piwik\Updates
             'log_visit.visit_exit_idaction_url' => 'INTEGER(11) UNSIGNED NULL DEFAULT 0',
             'log_visit.config_browser_version' => 'VARCHAR(20) NOT NULL',
             'log_visit.config_browser_name' => 'VARCHAR(10) NOT NULL',
+            'log_visit.config_browser_engine' => 'VARCHAR(10) NOT NULL',
             'log_visit.location_browser_lang' => 'VARCHAR(20) NOT NULL',
             'log_visit.config_os' => 'CHAR(3) NOT NULL',
             'log_visit.config_cookie' => 'TINYINT(1) NOT NULL',
diff --git a/plugins/DevicesDetection/Columns/BrowserEngine.php b/plugins/DevicesDetection/Columns/BrowserEngine.php
index a0606ee05f..4348a1a117 100644
--- a/plugins/DevicesDetection/Columns/BrowserEngine.php
+++ b/plugins/DevicesDetection/Columns/BrowserEngine.php
@@ -17,6 +17,7 @@ use Piwik\Tracker\Action;
 class BrowserEngine extends Base
 {
     protected $columnName = 'config_browser_engine';
+    protected $columnType = 'VARCHAR(10) NOT NULL';
 
     protected function configureSegments()
     {
-- 
GitLab