diff options
Diffstat (limited to 'plugins/GeoIp2/Columns/Region.php')
-rw-r--r-- | plugins/GeoIp2/Columns/Region.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/GeoIp2/Columns/Region.php b/plugins/GeoIp2/Columns/Region.php new file mode 100644 index 0000000000..934251b60e --- /dev/null +++ b/plugins/GeoIp2/Columns/Region.php @@ -0,0 +1,20 @@ +<?php +/** + * Matomo - free/libre analytics platform + * + * @link https://matomo.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\GeoIp2\Columns; + +class Region extends \Piwik\Plugins\UserCountry\Columns\Region +{ + protected $columnType = 'char(3) DEFAULT NULL'; + protected $segmentName = ''; + + public function uninstall() + { + // do not remove region column when plugin is deactivated + } +}
\ No newline at end of file |