]> git.openstreetmap.org Git - nominatim.git/blob - lib-sql/tables/importance_tables.sql
Merge pull request #3991 from lonvia/interpolation-on-addresses
[nominatim.git] / lib-sql / tables / importance_tables.sql
1 -- SPDX-License-Identifier: GPL-2.0-only
2 --
3 -- This file is part of Nominatim. (https://nominatim.org)
4 --
5 -- Copyright (C) 2026 by the Nominatim developer community.
6 -- For a full list of authors see the git log.
7
8 {% if 'wikimedia_importance' not in db.tables and 'wikipedia_article' not in db.tables %}
9 -- create dummy tables here if nothing was imported
10 CREATE TABLE wikimedia_importance (
11   language TEXT NOT NULL,
12   title TEXT NOT NULL,
13   importance double precision NOT NULL,
14   wikidata TEXT
15 )  {{db.tablespace.address_data}};
16 {% endif %}