diff --git a/sql/indices.src.sql b/sql/indices.src.sql index 52bfbe35..a4021597 100644 --- a/sql/indices.src.sql +++ b/sql/indices.src.sql @@ -24,6 +24,7 @@ CREATE INDEX idx_search_name_country_centroid ON search_name_country USING GIST CREATE INDEX idx_location_property_-partition-_centroid ON location_property_-partition- USING GIST (centroid) {ts:address-index}; -- end +DROP INDEX IF EXISTS place_id_idx; CREATE UNIQUE INDEX idx_place_osm_unique on place using btree(osm_id,osm_type,class,type) {ts:address-index};