allow searches on where:osm and where:wikidata

This commit is contained in:
cquest 2023-03-14 15:50:21 +01:00
parent 2d9bcc6443
commit 656c3fd414
2 changed files with 10 additions and 0 deletions

View file

@ -145,3 +145,7 @@ ALTER TABLE ONLY events
--
-- PostgreSQL database dump complete
--
CREATE INDEX events_idx_where_osm ON events USING spgist ((events_tags->>'where:osm')) WHERE events_tags ? 'where:osm';
CREATE INDEX events_idx_where_wikidata ON events USING spgist ((events_tags->>'where:wikidata')) WHERE events_tags ? 'where:wikidata';