X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7c4b68d2ea30a0615b7159c80b18132b09efd97b..20f1939c4c61ef28b128593b2ae5f841af567042:/sql/tables.sql diff --git a/sql/tables.sql b/sql/tables.sql index ac4d0956..d5cf7bcd 100644 --- a/sql/tables.sql +++ b/sql/tables.sql @@ -199,7 +199,8 @@ CREATE TABLE placex ( indexed_status INTEGER, indexed_date TIMESTAMP, wikipedia TEXT, -- calculated wikipedia article name (language:title) - geometry_sector INTEGER + geometry_sector INTEGER, + calculated_country_code varchar(2) ); SELECT AddGeometryColumn('placex', 'centroid', 4326, 'GEOMETRY', 2); CREATE UNIQUE INDEX idx_place_id ON placex USING BTREE (place_id);