If your project used the IPinfo Country ASN (legacy) database and you would like to migrate to IPinfo Lite, it is fairly easy to do.
If you are using the MMDB database, identify the schema change. No changes to value or structure, just column name changes.
| IPinfo Lite (Current) | Country_ASN (Legacy) |
|---|---|
| country_code | country |
| country | country_name |
| continent_code | continent |
| continent | continent_name |
| asn | asn |
| as_name | as_name |
| as_domain | as_domain |
Also, you need to be aware that the download URI has changed. Not the missing free sub-URL.
https://ipinfo.io/data/ipinfo_lite.mmdb?token=$TOKEN
https://ipinfo.io/data/free/country_asn.mmdb?token=$TOKEN
Differences in MMDB metadata.
Currently the metadata information for IPinfo Lite looks like this:
$ ipinfo mmdb metadata ipinfo_lite.mmdb
- Binary Format 2.0
- Database Type ipinfo bundle_location_lite.mmdb
- IP Version 6
- Record Size 32
- Node Count 4424831
- Description
en ipinfo bundle_location_lite.mmdb
- Languages en
- Build Epoch 1776499282
For the legacy IPinfo Country ASN this looks like this:
$ ipinfo mmdb metadata country_asn.mmdb
- Binary Format 2.0
- Database Type ipinfo generic_country_free_country_asn.mmdb
- IP Version 6
- Record Size 32
- Node Count 4424831
- Description
en ipinfo generic_country_free_country_asn.mmdb
- Languages en
- Build Epoch 1776499463