diff options
author | sgiehl <stefan@piwik.org> | 2014-10-15 23:51:15 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2014-10-15 23:51:15 +0400 |
commit | ec7062afe216bfb875d87a173c5f72414770464d (patch) | |
tree | 662213e6cfae8c2ad913b1d7a495d309d40cc1ca | |
parent | fddda01cb0e83511416613a31533a70d072e3338 (diff) |
column needs to be created on install
-rw-r--r-- | core/Columns/Updater.php | 1 | ||||
-rw-r--r-- | plugins/DevicesDetection/Columns/BrowserEngine.php | 1 |
2 files changed, 2 insertions, 0 deletions
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() { |