X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/be47cd2549da482f3a408307eee8bfe7967cff25..c6a7ef5574179af010deddef033f4001dd7d4c40:/sql/tables.sql diff --git a/sql/tables.sql b/sql/tables.sql index e2960aea..0245e3c3 100644 --- a/sql/tables.sql +++ b/sql/tables.sql @@ -36,6 +36,7 @@ GRANT SELECT ON new_query_log TO "{www-user}" ; GRANT SELECT ON TABLE country_name TO "{www-user}"; GRANT SELECT ON TABLE gb_postcode TO "{www-user}"; +GRANT SELECT ON TABLE us_postcode TO "{www-user}"; drop table IF EXISTS word; CREATE TABLE word ( @@ -267,7 +268,9 @@ CREATE TABLE wikipedia_article ( lon double precision, importance double precision, osm_type character(1), - osm_id bigint + osm_id bigint, + wd_page_title text, + instance_of text ); ALTER TABLE ONLY wikipedia_article ADD CONSTRAINT wikipedia_article_pkey PRIMARY KEY (language, title); CREATE INDEX idx_wikipedia_article_osm_id ON wikipedia_article USING btree (osm_type, osm_id);