mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-09 19:44:07 +00:00
grant access right to www user for new postcode table
This commit is contained in:
@@ -245,6 +245,8 @@ def create_place_postcode_table(conn: Connection, config: Configuration, **_: An
|
|||||||
geometry Geometry(Geometry, 4326) NOT NULL
|
geometry Geometry(Geometry, 4326) NOT NULL
|
||||||
)
|
)
|
||||||
""")
|
""")
|
||||||
|
sqlp.run_string(conn,
|
||||||
|
'GRANT SELECT ON location_postcodes TO "{{config.DATABASE_WEBUSER}}"')
|
||||||
# remove postcodes from the various auxillary tables
|
# remove postcodes from the various auxillary tables
|
||||||
cur.execute(
|
cur.execute(
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user