GeoLite2 SQL Schema
CREATE TABLE GeoLite2 (
geoname_id INT(10) UNSIGNED AUTO_INCREMENT PRIMARY KEY,
locale_code VARCHAR(10) NOT NULL,
continent_code VARCHAR(10) NOT NULL,
continent_name VARCHAR(10) NOT NULL,
country_iso_code VARCHAR(10) NOT NULL,
country_name VARCHAR(50) NOT NULL,
subdivision_1_iso_code VARCHAR(10),
subdivision_1_name VARCHAR(50),
subdivision_2_iso_code VARCHAR(10),
subdivision_2_name VARCHAR(50),
city_name VARCHAR(50),
metro_code INT(10),
time_zone VARCHAR(50)
)