DataObjects/Core_domain.php
[Pman.Core] / sql / core_geoip_location.sql
1 DROP TABLE IF EXISTS core_geoip_location;
2
3 -- CREATE  TABLE core_geoip_location (
4 --     id INT(11) NOT NULL AUTO_INCREMENT ,
5 --     latitude DECIMAL(11,8) NOT NULL DEFAULT 0,
6 --     longitude DECIMAL(11,8) NOT NULL DEFAULT 0,
7 --     city_id INT(11) NOT NULL DEFAULT 0,
8 --     PRIMARY KEY (id)
9 -- );
10 -- 
11 -- CREATE INDEX latitude_idx ON core_geoip_location (latitude) USING BTREE;
12 -- CREATE INDEX longitude_idx ON core_geoip_location (longitude) USING BTREE;
13 -- CREATE INDEX city_id_idx ON core_geoip_location (city_id) USING BTREE;