1 -- SPDX-License-Identifier: GPL-2.0-only
3 -- This file is part of Nominatim. (https://nominatim.org)
5 -- Copyright (C) 2026 by the Nominatim developer community.
6 -- For a full list of authors see the git log.
8 DROP TABLE IF EXISTS import_polygon_error;
9 CREATE TABLE import_polygon_error (
15 country_code varchar(2),
18 prevgeometry GEOMETRY(Geometry, 4326),
19 newgeometry GEOMETRY(Geometry, 4326)
22 CREATE INDEX idx_import_polygon_error_osmid ON import_polygon_error
23 USING BTREE (osm_type, osm_id);
26 DROP TABLE IF EXISTS import_polygon_delete;
27 CREATE TABLE import_polygon_delete (
34 CREATE INDEX idx_import_polygon_delete_osmid ON import_polygon_delete
35 USING BTREE (osm_type, osm_id);