Skip to content

Commit 20a333d

Browse files
authored
Merge pull request #3930 from lonvia/remove-new-query-log-table
Remove unused new_query_log table
2 parents 2e2ce2c + 084e1b8 commit 20a333d

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

lib-sql/tables.sql

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--
33
-- This file is part of Nominatim. (https://nominatim.org)
44
--
5-
-- Copyright (C) 2025 by the Nominatim developer community.
5+
-- Copyright (C) 2026 by the Nominatim developer community.
66
-- For a full list of authors see the git log.
77

88
drop table if exists import_status;
@@ -23,24 +23,6 @@ CREATE TABLE import_osmosis_log (
2323
event text
2424
);
2525

26-
CREATE TABLE new_query_log (
27-
type text,
28-
starttime timestamp,
29-
ipaddress text,
30-
useragent text,
31-
language text,
32-
query text,
33-
searchterm text,
34-
endtime timestamp,
35-
results integer,
36-
format text,
37-
secret text
38-
);
39-
CREATE INDEX idx_new_query_log_starttime ON new_query_log USING BTREE (starttime);
40-
GRANT INSERT ON new_query_log TO "{{config.DATABASE_WEBUSER}}" ;
41-
GRANT UPDATE ON new_query_log TO "{{config.DATABASE_WEBUSER}}" ;
42-
GRANT SELECT ON new_query_log TO "{{config.DATABASE_WEBUSER}}" ;
43-
4426
GRANT SELECT ON TABLE country_name TO "{{config.DATABASE_WEBUSER}}";
4527

4628
DROP TABLE IF EXISTS nominatim_properties;

0 commit comments

Comments
 (0)