Updates IP addresses geocoder docs

This commit is contained in:
Carla Iriberri
2015-10-19 16:37:10 +02:00
parent b6cd9a8e5f
commit f1fc31e466
5 changed files with 21 additions and 13 deletions

View File

@@ -1,9 +1,8 @@
---- IP addresses table ---
--- ---
-- Clear table
DELETE FROM ip_address_locations;
-- Updates table with new source data
INSERT INTO ip_address_locations (the_geom, network_start_ip) SELECT the_geom, network_start_ip::inet FROM latest_ip_address_locations;
DROP TABLE latest_ip_address_locations;