mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 19:44:07 +00:00
introduce table for in-database properties
Adds a simple table where settings for the database can be saved. This is useful for state that must not change after import.
This commit is contained in:
@@ -36,6 +36,13 @@ GRANT SELECT ON new_query_log TO "{www-user}" ;
|
|||||||
|
|
||||||
GRANT SELECT ON TABLE country_name TO "{www-user}";
|
GRANT SELECT ON TABLE country_name TO "{www-user}";
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS nominatim_properties;
|
||||||
|
CREATE TABLE nominatim_properties (
|
||||||
|
property TEXT,
|
||||||
|
value TEXT
|
||||||
|
);
|
||||||
|
GRANT SELECT ON TABLE nominatim_properties TO "{www-user}";
|
||||||
|
|
||||||
drop table IF EXISTS word;
|
drop table IF EXISTS word;
|
||||||
CREATE TABLE word (
|
CREATE TABLE word (
|
||||||
word_id INTEGER,
|
word_id INTEGER,
|
||||||
|
|||||||
Reference in New Issue
Block a user