X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7c4b68d2ea30a0615b7159c80b18132b09efd97b..1e307392b2620267e1117efb413e69c4452c9cb5:/sql/indices.src.sql

diff --git a/sql/indices.src.sql b/sql/indices.src.sql
index 70776f99..e94ea0ee 100644
--- a/sql/indices.src.sql
+++ b/sql/indices.src.sql
@@ -27,3 +27,5 @@ CREATE INDEX idx_search_name_country_nameaddress_vector ON search_name_country U
 -- start
 CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid);
 -- end
+
+CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type);
