1 -- SPDX-License-Identifier: GPL-2.0-only
3 -- This file is part of Nominatim. (https://nominatim.org)
5 -- Copyright (C) 2026 by the Nominatim developer community.
6 -- For a full list of authors see the git log.
8 -- Table to store location of entrance nodes
9 DROP TABLE IF EXISTS placex_entrance;
11 CREATE TABLE placex_entrance (
12 place_id BIGINT NOT NULL,
13 osm_id BIGINT NOT NULL,
15 location GEOMETRY(Point, 4326) NOT NULL,
19 CREATE UNIQUE INDEX idx_placex_entrance_place_id_osm_id ON placex_entrance
20 USING BTREE (place_id, osm_id) {{db.tablespace.search_index}};