mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-08 02:54:08 +00:00
remove unused new_query_log table
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
--
|
--
|
||||||
-- This file is part of Nominatim. (https://nominatim.org)
|
-- 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.
|
-- For a full list of authors see the git log.
|
||||||
|
|
||||||
drop table if exists import_status;
|
drop table if exists import_status;
|
||||||
@@ -23,24 +23,6 @@ CREATE TABLE import_osmosis_log (
|
|||||||
event text
|
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}}";
|
GRANT SELECT ON TABLE country_name TO "{{config.DATABASE_WEBUSER}}";
|
||||||
|
|
||||||
DROP TABLE IF EXISTS nominatim_properties;
|
DROP TABLE IF EXISTS nominatim_properties;
|
||||||
|
|||||||
Reference in New Issue
Block a user