X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/f17c5345ec0ec0b85347b6ccb1b50900d645b4b2..8d221e2c8263133b9784803dc7f61701ae872254:/sql/indices.src.sql?ds=sidebyside

diff --git a/sql/indices.src.sql b/sql/indices.src.sql
index 70776f99..4db5a104 100644
--- a/sql/indices.src.sql
+++ b/sql/indices.src.sql
@@ -27,3 +27,6 @@ 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_placex_osm_unique on placex using btree(osm_id,osm_type,class,type);
+CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type);
