From 084e1b8177a25e7810c186e6b8b342a5f3fe1ac4 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Thu, 1 Jan 2026 20:30:37 +0100 Subject: [PATCH] remove unused new_query_log table --- lib-sql/tables.sql | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/lib-sql/tables.sql b/lib-sql/tables.sql index 38703265..cd85def9 100644 --- a/lib-sql/tables.sql +++ b/lib-sql/tables.sql @@ -2,7 +2,7 @@ -- -- This file is part of Nominatim. (https://nominatim.org) -- --- Copyright (C) 2025 by the Nominatim developer community. +-- Copyright (C) 2026 by the Nominatim developer community. -- For a full list of authors see the git log. drop table if exists import_status; @@ -23,24 +23,6 @@ CREATE TABLE import_osmosis_log ( event text ); -CREATE TABLE new_query_log ( - type text, - starttime timestamp, - ipaddress text, - useragent text, - language text, - query text, - searchterm text, - endtime timestamp, - results integer, - format text, - secret text - ); -CREATE INDEX idx_new_query_log_starttime ON new_query_log USING BTREE (starttime); -GRANT INSERT ON new_query_log TO "{{config.DATABASE_WEBUSER}}" ; -GRANT UPDATE ON new_query_log TO "{{config.DATABASE_WEBUSER}}" ; -GRANT SELECT ON new_query_log TO "{{config.DATABASE_WEBUSER}}" ; - GRANT SELECT ON TABLE country_name TO "{{config.DATABASE_WEBUSER}}"; DROP TABLE IF EXISTS nominatim_properties;