@grzchr15 opened this Issue on January 4th 2021

Currently there are various functions getRegionNames() which work for MaxMind/Wikipedia regions and get cropped to 3 chars at SQL schema.
If Intranet Regions are longer this field must be increased in size.
For example office regions are up to 20 chars in my use case.

A patched version of GeoIp2 with adding https://github.com/grzchr15/IntranetGeoIP can so track both Intranet and Internet regions.

https://gist.github.com/grzchr15/dfc8e975482ad99e94b620b033da1da5

@sgiehl commented on January 5th 2021 Member

The location_region column was designed to store ISO region codes. Using it for something else might work though, but I would suggest using a new column if you want to store something else in there

Powered by GitHub Issue Mirror