]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-sql/indices.sql
Merge pull request #2228 from AntoJvlt/import-special-phrases-porting-python
[nominatim.git] / lib-sql / indices.sql
index cb77e02b60b8ca0c9525e0af3ae6327888955543..f8c9d2ce86511ef993231507883aa64998ef2eee 100644 (file)
@@ -35,9 +35,6 @@ CREATE INDEX {{sql.if_index_not_exists}} idx_osmline_parent_place_id
 CREATE INDEX {{sql.if_index_not_exists}} idx_osmline_parent_osm_id
   ON location_property_osmline USING BTREE (osm_id) {{db.tablespace.search_index}};
 
-CREATE UNIQUE INDEX {{sql.if_index_not_exists}} idx_postcode_id
-  ON location_postcode USING BTREE (place_id) {{db.tablespace.search_index}};
-
 CREATE INDEX {{sql.if_index_not_exists}} idx_postcode_postcode
   ON location_postcode USING BTREE (postcode) {{db.tablespace.search_index}};