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:
Sarah Hoffmann 2021-03-01 16:09:17 +01:00
parent db663dd92f
commit 976c5e9121

View File

@ -36,6 +36,13 @@ GRANT SELECT ON new_query_log 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;
CREATE TABLE word (
word_id INTEGER,