From 063721c0e1820d366defb792924612f2bcc17555 Mon Sep 17 00:00:00 2001 From: alexeh Date: Wed, 8 May 2024 14:29:39 +0300 Subject: [PATCH] remove totalArea field from copy csv sql script --- data/gadm_importer/populate_geo_and_admin_regions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gadm_importer/populate_geo_and_admin_regions.sql b/data/gadm_importer/populate_geo_and_admin_regions.sql index 8ebcbefaf..0a5724406 100644 --- a/data/gadm_importer/populate_geo_and_admin_regions.sql +++ b/data/gadm_importer/populate_geo_and_admin_regions.sql @@ -4,7 +4,7 @@ CREATE EXTENSION IF NOT EXISTS ltree; -- 1. Upsert from gadm to geo_region converting geometry to H3 TRUNCATE TABLE geo_region CASCADE; -\copy geo_region FROM 'geo_region.csv' WITH (FORMAT csv, HEADER, FORCE_NULL ("h3Compact", "h3Flat", "totalArea")); +\copy geo_region FROM 'geo_region.csv' WITH (FORMAT csv, HEADER, FORCE_NULL ("h3Compact", "h3Flat")); -- 2. Insert into admin_region referencing geo_region BEGIN;