Files
data-services/geocoder/ip-addresses/sql/build_data_table.sql
2014-08-25 12:38:52 +02:00

10 lines
264 B
SQL

---- IP addresses table ---
--- ---
-- Clear table
DELETE FROM ip_address_locations;
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;