72bbc078b1114ba8a9037c1c6280ca181ec9de33
[Pman.Core] / sql / core_geoip_location.sql
1 CREATE  TABLE core_geoip_location (
2     id INT(11) NOT NULL AUTO_INCREMENT ,
3     city_id INT(11) NOT NULL DEFAULT 0
4     latitude INT(11) NOT NULL DEFAULT 0,
5     longitude INT(11) NOT NULL DEFAULT 0,
6     PRIMARY KEY (id)
7 );
8
9 CREATE INDEX city_id_idx ON core_geoip_country (city_id) USING BTREE;
10 CREATE INDEX latitude_idx ON core_geoip_country (latitude) USING BTREE;
11 CREATE INDEX longitude_idx ON core_geoip_country (longitude) USING BTREE;